Kevin Minder created KNOX-199:
---------------------------------
Summary: ExampleHBase.groovy fails with Sandbox 2 GA
Key: KNOX-199
URL: https://issues.apache.org/jira/browse/KNOX-199
Project: Apache Knox
Issue Type: Bug
Components: ClientDSL
Affects Versions: 0.3.0
Environment: Knox 0.3.0, Sandbox 2.0 GA (HBase 0.96)
Reporter: Kevin Minder
Priority: Critical
Fix For: 0.3.1
When running ExampleHBase.groovy the exception below is produced on the client
side. Also note that the user's guide uses the wrong name from the groovy
script (ExampleHBaseUseCase.groovy vs ExampleHBase.groovy)
Inserting data into table...
Caught: org.apache.hadoop.gateway.shell.HadoopException:
org.apache.hadoop.gateway.shell.ErrorResponse: HTTP/1.1 400 Bad Request
org.apache.hadoop.gateway.shell.HadoopException:
org.apache.hadoop.gateway.shell.ErrorResponse: HTTP/1.1 400 Bad Request
at
org.apache.hadoop.gateway.shell.AbstractRequest.now(AbstractRequest.java:72)
at org.apache.hadoop.gateway.shell.AbstractRequest$now.call(Unknown Source)
at
org.apache.hadoop.gateway.shell.hbase.ExampleHBase.run(ExampleHBase.groovy:81)
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 400 Bad
Request
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.hbase.table.row.StoreRow$Request.access$400(StoreRow.java:47)
at
org.apache.hadoop.gateway.shell.hbase.table.row.StoreRow$Request$1.call(StoreRow.java:116)
at
org.apache.hadoop.gateway.shell.hbase.table.row.StoreRow$Request$1.call(StoreRow.java:77)
at
org.apache.hadoop.gateway.shell.AbstractRequest.now(AbstractRequest.java:70)
... 8 more
--
This message was sent by Atlassian JIRA
(v6.1#6144)