<?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: Atlas REST API search of a table fails in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228027#M72627</link>
    <description>&lt;P&gt;Hey yes! That already looks a lot more like a query response. It's not just the asteroids hive_table though, but it's getting somewhere.&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  "queryType": "DSL",&lt;BR /&gt;  "queryText": "`hive_table` ",&lt;BR /&gt;  "entities": [&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "spark",&lt;BR /&gt;  "qualifiedName": "asteroids.asteroids_raw@Sandbox",&lt;BR /&gt;  "name": "asteroids_raw",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "faedff26-819c-47ee-9cdf-77b4ba8bc547",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "asteroids_raw",&lt;BR /&gt;  "classificationNames": [&lt;BR /&gt;  "Applicatie_X"&lt;BR /&gt;  ]&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "spark",&lt;BR /&gt;  "qualifiedName": "asteroids.asteroids@Sandbox",&lt;BR /&gt;  "name": "asteroids",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "dfbe373d-b672-418e-8f45-5e285b64dd7d",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "asteroids",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "xademo.call_detail_records@Sandbox",&lt;BR /&gt;  "name": "call_detail_records",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "70f945be-7c3a-4580-86ac-695b345d0d7f",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "call_detail_records",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "xademo.recharge_details@Sandbox",&lt;BR /&gt;  "name": "recharge_details",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "f8861c18-6ba2-455d-9024-96abf01387f1",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "recharge_details",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "xademo.customer_details@Sandbox",&lt;BR /&gt;  "name": "customer_details",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "155265ec-dbfe-4951-b051-2b09c47a6c7f",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "customer_details",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.inventory_fact_1998@Sandbox",&lt;BR /&gt;  "name": "inventory_fact_1998",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "aaabeeb3-7528-4f76-8f65-443d26bb266e",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "inventory_fact_1998",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.sales_fact_dec_1998@Sandbox",&lt;BR /&gt;  "name": "sales_fact_dec_1998",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "59234a6b-7d3f-415f-b430-aae2074a0bb0",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "sales_fact_dec_1998",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.product@Sandbox",&lt;BR /&gt;  "name": "product",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "c6fc7997-648a-4154-9bca-b265f4882ae5",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "product",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.customer@Sandbox",&lt;BR /&gt;  "name": "customer",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "9503d0e1-37d7-4456-8b79-30dda3199f67",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "customer",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.store@Sandbox",&lt;BR /&gt;  "name": "store",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "83cd29e8-cca9-4595-9d3b-8479cd2fc3ee",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "store",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "default.sample_07@Sandbox",&lt;BR /&gt;  "name": "sample_07",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "908cba22-cfa3-429e-a116-51dcdcbfb003",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "sample_07",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "default.sample*_08@Sandbox",&lt;BR /&gt;  "name": "sample_08",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "c87f4c84-54e7-4c07-ac77-f32811b40fa5",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "sample_08",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "raj_ops",&lt;BR /&gt;  "qualifiedName": "default.employee@Sandbox",&lt;BR /&gt;  "name": "employee",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "8de87c74-3c5d-4b5c-8218-316f2b785f5d",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "employee",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  }&lt;BR /&gt;  ]&lt;BR /&gt;}&lt;/PRE&gt;</description>
    <pubDate>Thu, 14 Dec 2017 18:02:07 GMT</pubDate>
    <dc:creator>marcel-jan</dc:creator>
    <dc:date>2017-12-14T18:02:07Z</dc:date>
    <item>
      <title>Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228023#M72623</link>
      <description>&lt;P&gt;I want to allow users that store data on our HDP 2.6.3 cluster, to tag to their data in Atlas with the push a button. So I'm preparing the REST API commands for that. And because Atlas is not implemented here, I'm trying this on a HDP 2.6.3 Sandbox on a VirtualBox.&lt;/P&gt;&lt;P&gt;Atlas is running and the REST API works. For example, I can run this:&lt;/P&gt;&lt;P&gt;curl -iv -X GET &lt;A href="http://sandbox.hortonworks.com:21000/api/atlas/entities?type=hive_table" target="_blank" rel="nofollow noopener noreferrer"&gt;http://sandbox.hortonworks.com:21000/api/atlas/entities?type=hive_table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And this results in:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;  "requestId": "pool-2-thread-4 - d7ab6dc3-2464-482d-b78b-24f5e14bfd49",&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "results": [&lt;BR /&gt;  "faedff26-819c-47ee-9cdf-77b4ba8bc547",&lt;BR /&gt;  "dfbe373d-b672-418e-8f45-5e285b64dd7d",&lt;BR /&gt;  "f8861c18-6ba2-455d-9024-96abf01387f1",&lt;BR /&gt;  "9503d0e1-37d7-4456-8b79-30dda3199f67",&lt;BR /&gt;  "c6fc7997-648a-4154-9bca-b265f4882ae5",&lt;BR /&gt;  "155265ec-dbfe-4951-b051-2b09c47a6c7f",&lt;BR /&gt;  "908cba22-cfa3-429e-a116-51dcdcbfb003",&lt;BR /&gt;  "8de87c74-3c5d-4b5c-8218-316f2b785f5d",&lt;BR /&gt;  "c87f4c84-54e7-4c07-ac77-f32811b40fa5",&lt;BR /&gt;  "aaabeeb3-7528-4f76-8f65-443d26bb266e",&lt;BR /&gt;  "59234a6b-7d3f-415f-b430-aae2074a0bb0",&lt;BR /&gt;  "83cd29e8-cca9-4595-9d3b-8479cd2fc3ee",&lt;BR /&gt;  "70f945be-7c3a-4580-86ac-695b345d0d7f"&lt;BR /&gt;  ],&lt;BR /&gt;  "count": 13&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Now I want to search for a Hive table and I just can't seem to get that working. Just to prove the table is there, here is a screenshot from the Atlas GUI:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/45407-atlas-search-advanced-hive-table.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="45407-atlas-search-advanced-hive-table.png" style="width: 1391px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15239i4B971CAF668F429D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="45407-atlas-search-advanced-hive-table.png" alt="45407-atlas-search-advanced-hive-table.png" /&gt;&lt;/span&gt;atlas-search-advanced-hive-table.png(30.6 kB)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've tried many variations of the DSL search. None of them work. These are just a couple of the many variations that I've tried:&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET http://sandbox.hortonworks.com:21000/api/atlas/discovery/search/dsl?query=hive_table+where+name='asteroids'&lt;/PRE&gt;&lt;P&gt;Message: {"error":"Invalid expression : hive_table where name=asteroids"}&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?query=hive_table+where+name='asteroids'&lt;/PRE&gt;&lt;P&gt;Message: There was an error processing your request. It has been logged (ID 7da439947f22992b).&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET --header 'Accept: text/html' 'http://sandbox.hortonworks.com:21000/v2/search/dsl?query=name%3D'asteroids''&lt;/PRE&gt;&lt;P&gt;Message: &lt;/P&gt;&lt;PRE&gt;&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 404&amp;lt;/h2&amp;gt;&amp;lt;p&amp;gt;Problem accessing /v2/search/dsl. Reason:&amp;lt;pre&amp;gt;  Not Found&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;hr&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;hr/&amp;gt;&amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET http://sandbox.hortonworks.com:21000/api/atlas/discovery/search/dsl?query=hive_table+where+name='asteroids'&lt;/PRE&gt;&lt;P&gt;Message: {"error":"Invalid expression : hive_table where name=asteroids"}&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET http://sandbox.hortonworks.com:21000/api/atlas/discovery/search/dsl?query=hive_table+where%20name%3D'asteroids'&lt;/PRE&gt;&lt;P&gt;Result: {"error":"Invalid expression : hive_table where name=asteroids"}&lt;/P&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="45407-atlas-search-advanced-hive-table.png" style="width: 1391px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15240i94EE5A45381DA4D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="45407-atlas-search-advanced-hive-table.png" alt="45407-atlas-search-advanced-hive-table.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 01:13:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228023#M72623</guid>
      <dc:creator>marcel-jan</dc:creator>
      <dc:date>2019-08-18T01:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228024#M72624</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/16354/marcel-jan.html" nodeid="16354"&gt;@Marcel-Jan Krijgsman&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please try this once&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET &lt;A href="http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?query=where%20name%3D%asteroids%27&amp;amp;typeName=hive_table" target="_blank"&gt;http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?query=where%20name%3D%asteroids%27&amp;amp;typeName=hive_table&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 00:42:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228024#M72624</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-14T00:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228025#M72625</link>
      <description>&lt;P&gt;The message I get is:&lt;/P&gt;&lt;PRE&gt;{"errorCode":"ATLAS-500-00-004","errorMessage":"Discovery query failed where name=%asteroids'"}&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Dec 2017 17:24:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228025#M72625</guid>
      <dc:creator>marcel-jan</dc:creator>
      <dc:date>2017-12-14T17:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228026#M72626</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/16354/marcel-jan.html" nodeid="16354"&gt;@Marcel-Jan Krijgsman&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;This should work&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET &lt;A href="http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table&amp;amp;query=where+name%3D%22asteroids%22" target="_blank"&gt;http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table&amp;amp;query=where+name%3D%22asteroids%22&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 17:40:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228026#M72626</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-14T17:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228027#M72627</link>
      <description>&lt;P&gt;Hey yes! That already looks a lot more like a query response. It's not just the asteroids hive_table though, but it's getting somewhere.&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  "queryType": "DSL",&lt;BR /&gt;  "queryText": "`hive_table` ",&lt;BR /&gt;  "entities": [&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "spark",&lt;BR /&gt;  "qualifiedName": "asteroids.asteroids_raw@Sandbox",&lt;BR /&gt;  "name": "asteroids_raw",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "faedff26-819c-47ee-9cdf-77b4ba8bc547",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "asteroids_raw",&lt;BR /&gt;  "classificationNames": [&lt;BR /&gt;  "Applicatie_X"&lt;BR /&gt;  ]&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "spark",&lt;BR /&gt;  "qualifiedName": "asteroids.asteroids@Sandbox",&lt;BR /&gt;  "name": "asteroids",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "dfbe373d-b672-418e-8f45-5e285b64dd7d",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "asteroids",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "xademo.call_detail_records@Sandbox",&lt;BR /&gt;  "name": "call_detail_records",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "70f945be-7c3a-4580-86ac-695b345d0d7f",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "call_detail_records",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "xademo.recharge_details@Sandbox",&lt;BR /&gt;  "name": "recharge_details",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "f8861c18-6ba2-455d-9024-96abf01387f1",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "recharge_details",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "xademo.customer_details@Sandbox",&lt;BR /&gt;  "name": "customer_details",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "155265ec-dbfe-4951-b051-2b09c47a6c7f",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "customer_details",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.inventory_fact_1998@Sandbox",&lt;BR /&gt;  "name": "inventory_fact_1998",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "aaabeeb3-7528-4f76-8f65-443d26bb266e",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "inventory_fact_1998",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.sales_fact_dec_1998@Sandbox",&lt;BR /&gt;  "name": "sales_fact_dec_1998",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "59234a6b-7d3f-415f-b430-aae2074a0bb0",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "sales_fact_dec_1998",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.product@Sandbox",&lt;BR /&gt;  "name": "product",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "c6fc7997-648a-4154-9bca-b265f4882ae5",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "product",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.customer@Sandbox",&lt;BR /&gt;  "name": "customer",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "9503d0e1-37d7-4456-8b79-30dda3199f67",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "customer",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "foodmart.store@Sandbox",&lt;BR /&gt;  "name": "store",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "83cd29e8-cca9-4595-9d3b-8479cd2fc3ee",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "store",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "default.sample_07@Sandbox",&lt;BR /&gt;  "name": "sample_07",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "908cba22-cfa3-429e-a116-51dcdcbfb003",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "sample_07",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "hive",&lt;BR /&gt;  "qualifiedName": "default.sample*_08@Sandbox",&lt;BR /&gt;  "name": "sample_08",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "c87f4c84-54e7-4c07-ac77-f32811b40fa5",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "sample_08",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  },&lt;BR /&gt;  {&lt;BR /&gt;  "typeName": "hive_table",&lt;BR /&gt;  "attributes": {&lt;BR /&gt;  "owner": "raj_ops",&lt;BR /&gt;  "qualifiedName": "default.employee@Sandbox",&lt;BR /&gt;  "name": "employee",&lt;BR /&gt;  "description": null&lt;BR /&gt;  },&lt;BR /&gt;  "guid": "8de87c74-3c5d-4b5c-8218-316f2b785f5d",&lt;BR /&gt;  "status": "ACTIVE",&lt;BR /&gt;  "displayText": "employee",&lt;BR /&gt;  "classificationNames": []&lt;BR /&gt;  }&lt;BR /&gt;  ]&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:02:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228027#M72627</guid>
      <dc:creator>marcel-jan</dc:creator>
      <dc:date>2017-12-14T18:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228028#M72628</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/16354/marcel-jan.html" nodeid="16354"&gt;@Marcel-Jan Krijgsman&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Glad that it worked. Can you please accept the answer. This will be really helpful for other community users for finding the answer quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:22:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228028#M72628</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-14T18:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228029#M72629</link>
      <description>&lt;P&gt;If this is the best possible result I certainly will accept the answer. Because it's something I can work with.&lt;/P&gt;&lt;P&gt;But I really would like a Atlas REST API call that just gives results for the asteroids table only. That should be possible, shouldn't it?&lt;/P&gt;&lt;P&gt;Because now this command:&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET &lt;A href="http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table&amp;amp;query=where+name%3D%22asteroids%22" target="_blank"&gt;http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table&amp;amp;query=where+name%3D%22asteroids%22&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Gives the same result as if we omit the "where name='asteroids'" part:&lt;/P&gt;&lt;PRE&gt;curl -iv -u holger_gov:holger_gov -X GET &lt;A href="http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table" target="_blank"&gt;http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:35:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228029#M72629</guid>
      <dc:creator>marcel-jan</dc:creator>
      <dc:date>2017-12-14T18:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228030#M72630</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16354/marcel-jan.html" nodeid="16354"&gt;@Marcel-Jan Krijgsman&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I tried this and it returns only the queried table&lt;/P&gt;&lt;PRE&gt;curl -X GET \
  'http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table&amp;amp;query=where%20name%3D%22asteroids%22' \
  -H 'authorization: Basic YWRtaW46YWRtaW4='&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:51:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228030#M72630</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-14T18:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228031#M72631</link>
      <description>&lt;P&gt;That's it! Great work. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 19:45:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228031#M72631</guid>
      <dc:creator>marcel-jan</dc:creator>
      <dc:date>2017-12-14T19:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228032#M72632</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16354/marcel-jan.html" nodeid="16354"&gt;@Marcel-Jan Krijgsman&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Glad that it worked. Can you please accept the answer. This will be really helpful for other community users for finding the answer quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:06:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228032#M72632</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-14T20:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228033#M72633</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;, I've voted up your answer. Is that what you mean, or is there something else I can do to vote it as best answer?&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:23:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228033#M72633</guid>
      <dc:creator>marcel-jan</dc:creator>
      <dc:date>2017-12-14T20:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas REST API search of a table fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228034#M72634</link>
      <description>&lt;P&gt;I tried this and it returns only the queried table &lt;/P&gt;&lt;PRE&gt;curl -X GET \
  'http://sandbox.hortonworks.com:21000/api/atlas/v2/search/dsl?typeName=hive_table&amp;amp;query=where%20name%3D%22asteroids%22' \
  -H 'authorization: Basic YWRtaW46YWRtaW4='&lt;/PRE&gt;&lt;P&gt;Since the thread was long. I put the correct answer separately. You will find an "Accept" button beside this answer. Please click on it to accept it to make it as Best answer.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:36:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-REST-API-search-of-a-table-fails/m-p/228034#M72634</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-14T20:36:56Z</dc:date>
    </item>
  </channel>
</rss>

