Kevin Minder created KNOX-108:
---------------------------------

             Summary: Authentication failure submitting job via WebHCAT on 
Sandbox
                 Key: KNOX-108
                 URL: https://issues.apache.org/jira/browse/KNOX-108
             Project: Apache Knox
          Issue Type: Bug
         Environment: Sandbox setup via vagrant from HDP2Beta branch at 
e693243929583a30edfcc656beff2d96a6966528
            Reporter: Kevin Minder
            Priority: Blocker


In one console from Knox project root run:
ant verify install-test-home start-test-servers

In another console from the Knox project root run:
cd install/knox-incubating-0.3.0-SNAPSHOT
java -jar bin/shell.jar samples/ExampleSubmitJob.groovy

Note: ant install-test-home creates {GATEWAY_HOME} as 
install/knox-incubating-0.3.0-SNAPSHOT from the project root.

Note: ant start-test-servers starts the gateway listening (but not waiting) on 
port 5005 for a debugger connection.

Failure in shell console is:
Caught: org.apache.hadoop.gateway.shell.HadoopException: 
org.apache.hadoop.gateway.shell.ErrorResponse: HTTP/1.1 500 Server Error
org.apache.hadoop.gateway.shell.HadoopException: 
org.apache.hadoop.gateway.shell.ErrorResponse: HTTP/1.1 500 Server Error
        at 
org.apache.hadoop.gateway.shell.AbstractRequest.now(AbstractRequest.java:72)
        at org.apache.hadoop.gateway.shell.AbstractRequest$now.call(Unknown 
Source)
        at ExampleSubmitJob.run(ExampleSubmitJob.groovy:42)
        at org.apache.hadoop.gateway.shell.Shell.main(Shell.java:40)
        at 
org.apache.hadoop.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:64)
        at org.apache.hadoop.gateway.launcher.Invoker.invoke(Invoker.java:37)
        at org.apache.hadoop.gateway.launcher.Command.run(Command.java:101)
        at org.apache.hadoop.gateway.launcher.Launcher.run(Launcher.java:70)
        at org.apache.hadoop.gateway.launcher.Launcher.main(Launcher.java:49)
Caused by: org.apache.hadoop.gateway.shell.ErrorResponse: HTTP/1.1 500 Server 
Error
        at org.apache.hadoop.gateway.shell.Hadoop.executeNow(Hadoop.java:107)
        at 
org.apache.hadoop.gateway.shell.AbstractRequest.execute(AbstractRequest.java:47)
        at 
org.apache.hadoop.gateway.shell.job.Java$Request.access$100(Java.java:38)
        at org.apache.hadoop.gateway.shell.job.Java$Request$1.call(Java.java:82)
        at org.apache.hadoop.gateway.shell.job.Java$Request$1.call(Java.java:70)
        at 
org.apache.hadoop.gateway.shell.AbstractRequest.now(AbstractRequest.java:70)
        ... 8 more

Failure in gateway console is swallowed.  This needs to be fixed as part of 
fixing this issue.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to