Member since
11-30-2016
85
Posts
7
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3260 | 03-15-2017 07:33 AM |
06-05-2017
12:19 PM
Can we create Dynamic Masking policy on Tags in Ranger 0.7 which is available in HDP 2.6. Thank you, Subash
... View more
Labels:
- Labels:
-
Apache Atlas
-
Apache Ranger
05-16-2017
07:18 AM
@Geoffrey Shelton Okot, Yes I was able to run the shell script after commenting "Exit 1". Code pasted below: if [ ! -e "${JAVA_BIN}" ] || [ ! -e "${JAR_BIN}" ]; then echo "$JAVA_BIN and/or $JAR_BIN not found on the system. Please make sure java and jar commands are available."
# exit 1
fi
... View more
04-12-2017
12:17 PM
Thank you @Wynner, I am able to get the access token using your code. can you please recommend the Rest API documentation which i should follow.
... View more
04-11-2017
03:04 PM
I am invoking an API command (nifi-api/access/token) to get the access token. But i am getting blank output. we have LDAP configured in NiFi Cluster and i am able to login to NiFi UI using my credentials. I have started exploring the NiFi rest API for the first time. Any help would be appreciated !! Thank you in Advance, Subash
... View more
Labels:
- Labels:
-
Apache NiFi
03-15-2017
07:37 AM
Thank you @Sarath Subramanian for Clarification. I should have mentioned the Version of Atlas in my question as well. Can you please let me know from which version of HDP, I will get Apache Atlas 0.8.
... View more
03-15-2017
07:33 AM
Sure @Ayub Khan, We were able to resolve the issue by Restarting Apache Atlas (To close All Web Connections) and Multi-Processing to execute REST API command
... View more
03-15-2017
07:00 AM
Hey @Sarath Subramanian, Can you please share the Latest Rest API doc of Apache Atlas 0.8
... View more
03-15-2017
06:57 AM
@ssanthosh I don't think it works on Apache Atlas 0.7. I tried this command to get all the entities, But it didn't work. http://atlas.apache.org/api/v2/resource_EntityREST.html#resource_EntityREST_addClassification_POST curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -u username:password hostname:21000/api/v2/entity/bulk When i tried this command from the link ( http://atlas.incubator.apache.org/AtlasTechnicalUserGuide.pdf ), I was able to get GUID of all columns. curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -u username:password hostname:21000/api/atlas/entities?type=hive_column Am i doing something wrong in my Curl Command or the referred document works on older versions. Awaiting your reply !! Thank you, Subash
... View more
03-07-2017
09:45 PM
We are trying to associate tags to multiple entities ( in my case Entities are columns of the Hive Tables) .We are able to associate a tag to an entity one at a time. What i am thinking is to Implement A process to associate multiple entities to a tag in one go. I have gone through the technical documentation but haven't found any command for bulk import. Let me know if someone has tried this scenario. That would be great Help!! Thanks in Advance, Subash
... View more
Labels:
- Labels:
-
Apache Atlas
03-07-2017
06:40 PM
I am running a python script to associate an Attribute to a tag (one at a time because of GUID Constraint) and i have to tag around 3k attributes on daily basis. My script functions in below manner : Run get command on a table and fetch GUID's of all columns available in the table, (i am using DSL Search here) get_tables= requests.get(hostname +'/api/atlas/discovery/search/dsl?query=hive_table+where+name=%27'+tab+'%27and+__state=%27ACTIVE%27', headers={"Content-Type": "application/json","Accept": "application/json"}, auth=('username','password')) Check whether the columns are tagged or not, If a column is not tagged, Fetch the GUID of that column and run a post command to associate it with a tag. post_tag=requests.post((hostname+'/api/atlas/entities/'+guid+'/traits'), auth=(username ,password),json={ "typeName": "tag_name", "values": {}, "jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct" },headers = {"Content-Type": "application/json","Accept": "application/json"}) Once the tag is associated, I am closing the HTTP connection. get_tables.close()
post_tag.close() Now each of the API post call is taking more than 30 seconds to execute (which is not good) :(. Can someone please let me know an efficient method to tag attributes. Thank you in advance, Subash
... View more
Labels:
- Labels:
-
Apache Atlas