Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.2.0
-
None
-
None
-
Sandbox setup via vagrant from HDP2Beta branch at e693243929583a30edfcc656beff2d96a6966528
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
KNOX-109 Failed to submit workflow via Oozie against Sandbox HDP2Beta
- Closed