Created on 02-10-2016 01:54 PM - edited 08-17-2019 01:16 PM
Command: curl -s -d execute="select+*+from+nstest;" -d statusdir="1p" 'http://localhost:50111/templeton/v1/hive?user.name=hive'
Let's insert some data and test again
Wait for job to finish and the directory will show up on HDFS
You can monitor the job from RM UI
More details: https://cwiki.apache.org/confluence/display/Hive/HiveWebInterface
Created on 02-11-2016 04:09 AM
@Neeraj Sabharwal I like this. Can you explain the reason for -d statusdir="1p"?
Created on 02-11-2016 04:56 AM
-d statusdir=<> this option is used to specify the hdfs directory to store the log files.( stdout,stderr) for the executed job.