<?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/185236#M147343</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried running the first three commands using :&lt;/P&gt;&lt;PRE&gt;{username} as admin&lt;BR /&gt;{password} as admin&lt;BR /&gt;{ambari-host} as sandbox.hortonworks.com&lt;BR /&gt;{port} with ambari port(default 8080) &lt;BR /&gt;{clustername} as Sandbox&lt;BR /&gt;{hostname} as sandbox.hortonworks.com&lt;/PRE&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P&gt;E.g. I ran the following command : &lt;/P&gt;&lt;PRE&gt;curl -k -u admin:admin -H "X-Requested-By:ambari" -i -X PUT -d '{"HostRoles": {"state": "INSTALLED"}}' &lt;A href="http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/hosts/sandbox.hortonworks.com/host_components/HDFS_CLIENT" target="_blank"&gt;http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/hosts/sandbox.hortonworks.com/host_components/HDFS_CLIENT&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;But I got the following error : &lt;/P&gt;&lt;PRE&gt;HTTP/1.1 404 Not Found                                                                                                                               
X-Frame-Options: DENY                                                                                                                                
X-XSS-Protection: 1; mode=block                                                                                                                      
X-Content-Type-Options: nosniff                                                                                                                      
Cache-Control: no-store                                                                                                                              
Pragma: no-cache                                                                                                                                     
Set-Cookie: AMBARISESSIONID=14jxcimd3368rh42fh6lsxsnx;Path=/;HttpOnly                                                                                
Expires: Thu, 01 Jan 1970 00:00:00 GMT                                                                                                               
User: admin                                                                                                                                          
Content-Type: text/plain                                                                                                                             
Content-Length: 279                                                                                                                                  

{                                                                                                                                                    
  "status" : 404,                                                                                                                                    
  "message" : "org.apache.ambari.server.controller.spi.NoSuchParentResourceException: Parent Host resource doesn't exist.  Host not found, cluster=Sa
ndbox, hostname=sandbox.hortonworks.com.  Host not found, cluster=Sandbox, hostname=sandbox.hortonworks.com"  
&lt;/PRE&gt;&lt;P&gt;What to do now ?&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 08:35:34 GMT</pubDate>
    <dc:creator>amoghsuman</dc:creator>
    <dc:date>2018-01-10T08:35:34Z</dc:date>
  </channel>
</rss>

