<?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: REST API +  create an instance of SLIDER view in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243866#M205664</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please try something like this:&lt;/P&gt;&lt;PRE&gt;# curl --user admin:admin -i -H 'X-Requested-By: ambari'  -X POST -d '{"ViewInstanceInfo":{"instance_name":"SLIDER_NEW","label":"SLIDER_NEW","visible":true,"description":"SLIDER_NEWDescription","properties":{"ambari.server.url":"http://localhost:8080/api/v1/clusters/YOUR_CLUSTER_NAME","ambari.server.username":"admin","ambari.server.password":"admin","slider.user":"admin"},"cluster_type":"NONE"}}'  &lt;A href="http://localhost:8080/api/v1/views/SLIDER/versions/2.0.0/instances/SLIDER_NEW" target="_blank"&gt;http://localhost:8080/api/v1/views/SLIDER/versions/2.0.0/instances/SLIDER_NEW&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You will need to make sure to change the Cluster Name "&lt;STRONG&gt;YOUR_CLUSTER_NAME&lt;/STRONG&gt;" in the following piece of the JSON data:&lt;/P&gt;&lt;PRE&gt;"ambari.server.url":"http://localhost:8080/api/v1/clusters/YOUR_CLUSTER_NAME"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 20:52:52 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2019-02-12T20:52:52Z</dc:date>
    <item>
      <title>REST API +  create an instance of SLIDER view</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243865#M205663</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;we want to create  an instance of SLIDER view&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="103465-capturepng7.png" style="width: 1242px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13423i696EBE8B5DC12CDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="103465-capturepng7.png" alt="103465-capturepng7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so we run the following API&lt;/P&gt;&lt;PRE&gt; curl --user admin:admin -i -H 'X-Requested-By: ambari' -X POST &lt;A href="http://localhost:8080/api/v1/views/SLIDER/versions/2.0.0/instances/SLIDER_NEW" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/api/v1/views/SLIDER/versions/2.0.0/instances/SLIDER_NEW&lt;/A&gt;
HTTP/1.1 400 Bad Request
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: no-store
Pragma: no-cache
Set-Cookie: AMBARISESSIONID=hpxbpzq0m16x1xygqwvbu3340;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
User: admin
Content-Type: text/plain
Content-Length: 527
{
  "status" : 400,
  "message" : "{\"propertyResults\":{\"ambari.server.password\":{\"valid\":false,\"detail\":\"No property values exist for the required parameter ambari.server.password.\"},\"ambari.server.url\":{\"valid\":false,\"detail\":\"No property values exist for the required parameter ambari.server.url.\"},\"ambari.server.username\":{\"valid\":false,\"detail\":\"No property values exist for the required parameter ambari.server.username.\"}},\"valid\":false,\"detail\":\"The instance has invalid properties.\"}"&lt;/PRE&gt;&lt;P&gt;but not succeeded &lt;/P&gt;&lt;P&gt;please advice what is wrong with my API?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 21:39:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243865#M205663</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-17T21:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API +  create an instance of SLIDER view</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243866#M205664</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please try something like this:&lt;/P&gt;&lt;PRE&gt;# curl --user admin:admin -i -H 'X-Requested-By: ambari'  -X POST -d '{"ViewInstanceInfo":{"instance_name":"SLIDER_NEW","label":"SLIDER_NEW","visible":true,"description":"SLIDER_NEWDescription","properties":{"ambari.server.url":"http://localhost:8080/api/v1/clusters/YOUR_CLUSTER_NAME","ambari.server.username":"admin","ambari.server.password":"admin","slider.user":"admin"},"cluster_type":"NONE"}}'  &lt;A href="http://localhost:8080/api/v1/views/SLIDER/versions/2.0.0/instances/SLIDER_NEW" target="_blank"&gt;http://localhost:8080/api/v1/views/SLIDER/versions/2.0.0/instances/SLIDER_NEW&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You will need to make sure to change the Cluster Name "&lt;STRONG&gt;YOUR_CLUSTER_NAME&lt;/STRONG&gt;" in the following piece of the JSON data:&lt;/P&gt;&lt;PRE&gt;"ambari.server.url":"http://localhost:8080/api/v1/clusters/YOUR_CLUSTER_NAME"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:52:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243866#M205664</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-02-12T20:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: REST API +  create an instance of SLIDER view</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243867#M205665</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/5258"&gt;@Jay&lt;/a&gt; , when I click on "go to instance" we get&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="103466-capturepng7.png" style="width: 715px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13422iD0F13F14204FE2FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="103466-capturepng7.png" alt="103466-capturepng7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;Slider View requires access to user's home directory in HDFS to proceed. Contact your administrator to create the home directory. (File hdfs://hdfsha/user/slider does not exist.)&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Aug 2019 21:39:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243867#M205665</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-17T21:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: REST API +  create an instance of SLIDER view</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243868#M205666</link>
      <description>&lt;P&gt;I solved it by&lt;/P&gt;&lt;P&gt; hadoop fs -mkdir /user/slider&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 21:25:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243868#M205666</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-02-12T21:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: REST API +  create an instance of SLIDER view</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243869#M205667</link>
      <description>&lt;P&gt;&lt;STRONG&gt;but when I click on  Create App button ( on the right side )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;we get black screen , - why?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="103467-capturepng7.png" style="width: 1905px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13421i56F6894CFA9A1B57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="103467-capturepng7.png" alt="103467-capturepng7.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 21:39:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243869#M205667</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-17T21:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST API +  create an instance of SLIDER view</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243870#M205668</link>
      <description>&lt;P&gt;example after we click on - &lt;STRONG&gt;Create App button&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="103468-capturepng7.png" style="width: 1299px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13420i432F59F13C6546A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="103468-capturepng7.png" alt="103468-capturepng7.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 21:39:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243870#M205668</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-17T21:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: REST API +  create an instance of SLIDER view</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243871#M205669</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;@Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Just create the home directory as follows&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# su - hdfs
$ hdfs dfs -mkdir /user/slider
$ hdfs dfs -chown slider:hdfs /user/slider&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;That should be enough .. good luck&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 23:14:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-create-an-instance-of-SLIDER-view/m-p/243871#M205669</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-02-12T23:14:30Z</dc:date>
    </item>
  </channel>
</rss>

