Member since
11-26-2015
10
Posts
0
Kudos Received
0
Solutions
04-14-2016
05:42 AM
Thanks a lot, it' working now (maybe you could include this in the description of how to use the WebHDFS in th link above).
... View more
04-12-2016
11:29 AM
I am using the WebHDFS REST API as described in https://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-project-dist/hadoop-hdfs/WebHDFS.html I am putting the following HTTP URL in the address bar, e.g. http://localhost:50070/webhdfs/v1/tmp/test1?op=MKDIRS
... View more
04-12-2016
06:43 AM
Please let me know when you have tested in inhouse. I have also tested it on another (self-installed) system (OS Ubuntu) and I am getting the same error: Request in the browser: http://localhost:50070/webhdfs/v1/tmp/test1?op=MKDIRS Answer in the browser: {"RemoteException":{"exception":"IllegalArgumentException","javaClassName":"java.lang.IllegalArgumentException","message":"Invalid value for webhdfs parameter \"op\": No enum constant org.apache.hadoop.hdfs.web.resources.GetOpParam.Op.MKDIRS"}} Thanks, Matthias
... View more
04-09-2016
11:20 AM
From the browser I am using the following request: http://xx.xx.xx.xx:50070/webhdfs/v1/mnt/cloudera/hadoop/user/hive/warehouse/mapreduce?op=MKDIRS From the linux terminal it's working (as you mentioned).
... View more
04-08-2016
09:39 AM
Hi, in the Cloudera Quickstart VM I am trying to submit requests using WebHDFS, but everything I put a HTTP PUT operation in the browser the following error appears (example shows operation "MKDIRS"): http://XX.XX.XX.XX:50070/webhdfs/v1/mnt/cloudera/hadoop/user/hive/warehouse/mapreduce?op=MKDIRS {"RemoteException":{"exception":"IllegalArgumentException","javaClassName":"java.lang.IllegalArgumentException","message":"Invalid value for webhdfs parameter \"op\": No enum constant org.apache.hadoop.hdfs.web.resources.GetOpParam.Op.MKDIRS"}} It looks like WebHDFS is searching for PUT operations in the GET library. No enum constant org.apache.hadoop.hdfs.web.resources.GetOpParam.Op.MKDIRS I appreciate any help on this. Thanks, Matthias
... View more
Labels:
12-04-2015
08:57 AM
Hi, I have also set the values as below, but I used the hive-site.xml Snippet in the Cloudera Manager (5.4.8). After I restarted the cluster I also checked the hive-site.xml in the directory "/run/cloudera-scm-agent/process/" and found the entries as well (so everything seems to be fine). However, it is still not possible to delete table entries in Hive, I still get the error message (as mentioned above): FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations. hive.auto.convert.join.noconditionaltask.size = 10000000; hive.support.concurrency = true; hive.enforce.bucketing = true; hive.exec.dynamic.partition.mode = nonstrict; hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; hive.compactor.initiator.on = true; hive.compactor.worker.threads = 1 ; Maybe I missed something but could you please help me? Thanks a lot in advance, Matthias
... View more