<?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: Can not modify Hive view in Ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154272#M48923</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14720/dmitrynheng.html" nodeid="14720"&gt;@Dmitry Otblesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;try the Ambari Views API to update properties, here's an example&lt;/P&gt;&lt;PRE&gt;curl --user admin:admin -i -H 'X-Requested-By: ambari' -X PUT &lt;A href="http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE" target="_blank"&gt;http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE&lt;/A&gt; \
--data '{
  "ViewInstanceInfo" : {
      "description" : "Files API",
      "label" : "Files View",
      "properties" : {
      "webhdfs.client.failover.proxy.provider" : "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
      "webhdfs.ha.namenode.http-address.nn1" : "u1201.ambari.apache.org:50070",
      "webhdfs.ha.namenode.http-address.nn2" : "u1201.ambari.apache.org:50070",
      "webhdfs.ha.namenode.https-address.nn1" : "u1201.ambari.apache.org:50470",
      "webhdfs.ha.namenode.https-address.nn2" : "u1202.ambari.apache.org:50470",
      "webhdfs.ha.namenode.rpc-address.nn1" : "u1201.ambari.apache.org:8020",
      "webhdfs.ha.namenode.rpc-address.nn2" : "u1202.ambari.apache.org:8020",
      "webhdfs.ha.namenodes.list" : "nn1,nn2",
      "webhdfs.nameservices" : "hacluster",
      "webhdfs.url" : "webhdfs://hacluster"
      }
    }
}'



&lt;/PRE&gt;&lt;P&gt;I have more examples published here &lt;A href="https://github.com/dbist/ambari-chef/blob/master/notes" target="_blank"&gt;https://github.com/dbist/ambari-chef/blob/master/notes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to get a specific instance of a view and delete it&lt;/P&gt;&lt;PRE&gt;# get specific instance of FILES view

curl --user admin:admin -i -H 'X-Requested-By: ambari' -X GET &lt;A href="http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE" target="_blank"&gt;http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE&lt;/A&gt;

# delete an instance of FILES view

curl --user admin:admin -i -H 'X-Requested-By: ambari' -X DELETE &lt;A href="http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE" target="_blank"&gt;http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE&lt;/A&gt;

&lt;/PRE&gt;</description>
    <pubDate>Fri, 16 Dec 2016 06:03:34 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-12-16T06:03:34Z</dc:date>
    <item>
      <title>Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154268#M48919</link>
      <description>&lt;P&gt;In a freshly installed Ambari server most views did not point to a cluster name (the cluster name was empty). This was strange itself, but even more disappointing was the fact that also I was not able to modify Hive view. The pop came with the message:&lt;/P&gt;&lt;P&gt;Can't save settings. Server error&lt;/P&gt;&lt;P&gt;which was not very informative...&lt;/P&gt;&lt;P&gt;The attempts to find any relevant information in Ambari server logs also were unsuccessful. &lt;/P&gt;&lt;P&gt;So where should I look further?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 12:45:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154268#M48919</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-15T12:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154269#M48920</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14720/dmitrynheng.html"&gt;Dmitry Otblesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which version of ambari server is it ? &lt;/P&gt;&lt;P&gt;- From Ambari 2.4 onwards we have separate logs files for different views. So if you are not finding any error message in the ambari-server.log and if you are using Ambari 2.4 or above then better to check the  "/var/log/ambari-server/hive-view/hive-view.log"  log file.&lt;/P&gt;&lt;P&gt;- Also can you please attach the error screenshot. And the config changes that you are planning to make.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 13:00:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154269#M48920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-15T13:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154270#M48921</link>
      <description>&lt;P&gt;I am using Ambari 2.4, the one currently available for download.&lt;/P&gt;&lt;P&gt;Log file "/var/log/ambari-server/hive-view/hive-view.log is empty.&lt;/P&gt;&lt;P&gt;The image below shows that no cluster was assigned to the view (this view was created automatically). This was true for all views, not only Hive view.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10330-nocluster2.png" style="width: 468px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20995i722BFDC78560E2FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10330-nocluster2.png" alt="10330-nocluster2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However only Hive view did not allow me to assign the cluster. Any attempt to modify the view throws the pop up shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10341-nocluster.png" style="width: 305px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20996i38ED564102A5AF1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10341-nocluster.png" alt="10341-nocluster.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:33:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154270#M48921</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2019-08-18T12:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154271#M48922</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3823/joysensharma.html"&gt;jss&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also it was not possible to delete this view&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 23:41:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154271#M48922</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-15T23:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154272#M48923</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14720/dmitrynheng.html" nodeid="14720"&gt;@Dmitry Otblesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;try the Ambari Views API to update properties, here's an example&lt;/P&gt;&lt;PRE&gt;curl --user admin:admin -i -H 'X-Requested-By: ambari' -X PUT &lt;A href="http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE" target="_blank"&gt;http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE&lt;/A&gt; \
--data '{
  "ViewInstanceInfo" : {
      "description" : "Files API",
      "label" : "Files View",
      "properties" : {
      "webhdfs.client.failover.proxy.provider" : "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
      "webhdfs.ha.namenode.http-address.nn1" : "u1201.ambari.apache.org:50070",
      "webhdfs.ha.namenode.http-address.nn2" : "u1201.ambari.apache.org:50070",
      "webhdfs.ha.namenode.https-address.nn1" : "u1201.ambari.apache.org:50470",
      "webhdfs.ha.namenode.https-address.nn2" : "u1202.ambari.apache.org:50470",
      "webhdfs.ha.namenode.rpc-address.nn1" : "u1201.ambari.apache.org:8020",
      "webhdfs.ha.namenode.rpc-address.nn2" : "u1202.ambari.apache.org:8020",
      "webhdfs.ha.namenodes.list" : "nn1,nn2",
      "webhdfs.nameservices" : "hacluster",
      "webhdfs.url" : "webhdfs://hacluster"
      }
    }
}'



&lt;/PRE&gt;&lt;P&gt;I have more examples published here &lt;A href="https://github.com/dbist/ambari-chef/blob/master/notes" target="_blank"&gt;https://github.com/dbist/ambari-chef/blob/master/notes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to get a specific instance of a view and delete it&lt;/P&gt;&lt;PRE&gt;# get specific instance of FILES view

curl --user admin:admin -i -H 'X-Requested-By: ambari' -X GET &lt;A href="http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE" target="_blank"&gt;http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE&lt;/A&gt;

# delete an instance of FILES view

curl --user admin:admin -i -H 'X-Requested-By: ambari' -X DELETE &lt;A href="http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE" target="_blank"&gt;http://localhost:8080/api/v1/views/FILES/versions/1.0.0/instances/FILES_NEW_INSTANCE&lt;/A&gt;

&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2016 06:03:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154272#M48923</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-12-16T06:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154273#M48924</link>
      <description>&lt;P&gt;@Artem Ervits&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;I actually already found a much easier workaround, which was to create a new Hive view and use it instead of a broken one.&lt;/P&gt;&lt;P&gt;But at this point I am still wondering why these things are happening? I.e.&lt;/P&gt;&lt;P&gt;- why automatically created view was not pointing to any cluster?&lt;/P&gt;&lt;P&gt;- why it was not possible to delete it or modify it via Ambari?&lt;/P&gt;&lt;P&gt;- why all this was happening "silently", meaning that I was not able to find any error messages in relevant logs?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 22:42:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154273#M48924</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-16T22:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154274#M48925</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14720/dmitrynheng.html"&gt;Dmitry Otblesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you check both the logs ?&lt;/P&gt;&lt;P&gt;1. "/var/log/ambari-server/hive-view/hive-view.log" (from ambari 2.4 onwards)&lt;/P&gt;&lt;P&gt;2. "/var/log/ambari-server/ambari-server.log"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 22:44:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154274#M48925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-16T22:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can not modify Hive view in Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154275#M48926</link>
      <description>&lt;P&gt;Yes I did. Both were empty at the time when problem occured&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 11:27:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-modify-Hive-view-in-Ambari/m-p/154275#M48926</guid>
      <dc:creator>dmitrynheng</dc:creator>
      <dc:date>2016-12-17T11:27:00Z</dc:date>
    </item>
  </channel>
</rss>

