distshell test fails with leading slash #4

Merged
merged 1 commit into from Jul 2, 2012

Conversation

Projects
None yet
2 participants

Without this tiny change, when running mvn test for client I get /lua/distshell.lua not found.

Running com.cloudera.kitten.TestKittenDistributedShell
0    [main] INFO  com.cloudera.kitten.TestKittenDistributedShell  - Starting up YARN cluster
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
Jul 2, 2012 3:11:54 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering org.apache.hadoop.yarn.server.resourcemanager.webapp.JAXBContextResolver as a provider class
Jul 2, 2012 3:11:54 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices as a root resource class
Jul 2, 2012 3:11:54 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering org.apache.hadoop.yarn.webapp.GenericExceptionHandler as a provider class
Jul 2, 2012 3:11:54 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.8 06/24/2011 12:17 PM'
Jul 2, 2012 3:11:54 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding org.apache.hadoop.yarn.server.resourcemanager.webapp.JAXBContextResolver to GuiceManagedComponentProvider with the scope "Singleton"
Jul 2, 2012 3:11:54 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding org.apache.hadoop.yarn.webapp.GenericExceptionHandler to GuiceManagedComponentProvider with the scope "Singleton"
Jul 2, 2012 3:11:55 PM com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory getComponentProvider
INFO: Binding org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices to GuiceManagedComponentProvider with the scope "Singleton"
Jul 2, 2012 3:11:55 PM com.google.inject.servlet.GuiceFilter setPipeline
WARNING: Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web application. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected.
7244 [Thread[Thread-13,5,main]] ERROR org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager  - InterruptedExcpetion recieved for ExpiredTokenRemover thread java.lang.InterruptedException: sleep interrupted
7268 [ResourceManager Event Processor] ERROR org.apache.hadoop.yarn.server.resourcemanager.ResourceManager  - Returning, interrupted : java.lang.InterruptedException
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.293 sec <<< FAILURE!

Results :

Tests in error: 
  testKittenShell(com.cloudera.kitten.TestKittenDistributedShell): resource /lua/distshell.lua not found.

jwills added a commit that referenced this pull request Jul 2, 2012

Merge pull request #4 from brianmartin/test-fix
distshell test fails with leading slash

@jwills jwills merged commit a1a5290 into cloudera:master Jul 2, 2012

Contributor

jwills commented Jul 2, 2012

Thanks man-- sorry about that.

Contributor

jwills commented on 42adcde Jul 2, 2012

Hrm, now I'm confused-- this fails for me if I don't include the leading slash.

Contributor

jwills replied Jul 2, 2012

I'm running on a mac-- let me try it on linux,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment