<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: hive rest api : cannot query tables ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-rest-api-cannot-query-tables/m-p/135202#M97861</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2508/klksrinivas.html" nodeid="2508"&gt;@Krishna Srinivas&lt;/A&gt; try webhcat&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;curl -s -d execute="select+*+from+sample_08;" \&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;       -d statusdir="output" \&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;       '&lt;/STRONG&gt;&lt;A href="https://www.google.com/url?q=https://www.google.com/url?q%3Dhttp://localhost:50111/templeton/v1/hive?user.name%253Droot%26amp;sa%3DD%26amp;ust%3D1455100112181000%26amp;usg%3DAFQjCNEQQkcm3_W8zU62PTvsJseSvv8TVA&amp;amp;sa=D&amp;amp;ust=1455100112194000&amp;amp;usg=AFQjCNEOqpdYMRK8eENaGWTV9DwlMpU02Q"&gt;http://localhost:50111/templeton/v1/hive?user.name=root&lt;/A&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# if you ls on the directory, it will have two files, stderr and stdout&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hdfs dfs -ls output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# if the job succeeded, you can cat the stdout file and view the results&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hdfs dfs -cat output/stdout      &lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2016 17:27:50 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-10T17:27:50Z</dc:date>
  </channel>
</rss>

