<?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: Unable To Upload A Table In Hive : java.sql.SQLException Error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-To-Upload-A-Table-In-Hive-java-sql-SQLException-Error/m-p/185233#M147340</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51358/amoghsuman.html" nodeid="51358"&gt;@Amogh Suman&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you please try running the below commands and see if core-site.xml is created in /usr/hdp/current/hadoop-client/conf/ folder and also /etc/hadoop/conf is created&lt;/P&gt;&lt;PRE&gt;# curl -k -u {username}:{password} -H "X-Requested-By:ambari" -i -X PUT -d '{"HostRoles": {"state": "INSTALLED"}}' &lt;A href="http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/HDFS_CLIENT" target="_blank"&gt;http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/HDFS_CLIENT&lt;/A&gt;
# curl -k -u {username}:{password} -H "X-Requested-By:ambari" -i -X PUT -d '{"HostRoles": {"state": "INSTALLED"}}' &lt;A href="http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/YARN_CLIENT" target="_blank"&gt;http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/YARN_CLIENT&lt;/A&gt;
# curl -k -u {username}:{password} -H "X-Requested-By:ambari" -i -X PUT -d '{"HostRoles": {"state": "INSTALLED"}}' &lt;A href="http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/MAPREDUCE2_CLIENT" target="_blank"&gt;http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/MAPREDUCE2_CLIENT&lt;/A&gt;
# yum install -y hadoop hadoop-hdfs hadoop-libhdfs hadoop-yarn hadoop-mapreduce hadoop-client openssl&lt;/PRE&gt;&lt;P&gt;In the curl commands replace the {username} with ambari username, {password} with ambari password , {ambari-host} with hostname, {port} with ambari port(default 8080) ,{clustername} and {hostname}.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 01:48:54 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2018-01-10T01:48:54Z</dc:date>
  </channel>
</rss>

