Member since
10-14-2016
36
Posts
3
Kudos Received
0
Solutions
06-16-2017
06:25 AM
@Graham Martin Thanks for your reply, I thihk I haved already define the Tag Service and add it to the hive policy In the tag service I give user "admin" the permission to select all the tables/columns under the tag "Hive", and in Hive Policy I disable the user "admin" 's permission to select of all tables, so if the tag service works, "admin" should have the permission to visit all tables under the tag "Hive", but currently it is not working. Am I missing something here?
... View more
06-15-2017
10:10 AM
3 Kudos
Hi, I am working with the ranger-atlas tag based policy, I think after I turned on the tag sync in Ranger, the tag in atlas is sync with ranger, coz I checked the ranger db and found the x_tag table has some records in it. But I think in ranger, the tags are syncd but resource lookup not working for tags, coz when I search for some tag in tag-based policy, the tags in atlas cannot be searched. the above pic shows the tags in atlas, while the below pic shows the tag sync in ranger, I am trying to search for the tag HBase, and it's not working Furthermore, I added the tag based policy to hive, but the table under the HBase tag still cannot be accessed for the "admin" user
... View more
Labels:
- Labels:
-
Apache Atlas
-
Apache Ranger
06-15-2017
01:32 AM
Sure, thanks for the answer, Garelnabi ^^
... View more
06-14-2017
01:22 PM
Did not find much documentation on atlas Lineage and Impact, according to this ppt Apache Atlas: Governance for your Data, seems Lineage is the source of the process, while impact is the destination of the process, am I understanding the concepts right ?
... View more
Labels:
- Labels:
-
Apache Atlas
06-04-2017
06:43 AM
Hi, guys: I checked the latest Atlas 0.9, there are HBase types defined already, but there is no HBase bridge and HDFS bridge done yet, since we have developed our own HBase bridge and HDFS bridge, is it possible for us to submit our HBase bridge and HDFS bridge code into the latest Atlas code? Qinglin
... View more
Labels:
- Labels:
-
Apache Atlas
05-23-2017
09:14 AM
Hi, Guys: I am trying to using atlas to capture a lineage between the hive external table and hive ordinary table so as to make a lineage between the hive table and hbase table. Here is the code I run in hive: create table dddd(key string ,id bigint ,aname string ,bname string ,cname string)STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'WITH SERDEPROPERTIES("hbase.columns.mapping" = ":key,info:id,info:aname,info:bname,info:cname")TBLPROPERTIES("hbase.table.name" = "dddd");
insert into table datalake_demo.dddd select a.id as key, a.id, a.aname ,b.bname,c.cname from datalake_demo.a,datalake_demo.b,datalake_demo.c where d = b.id and b.id = c.id; But the hive hook did not create a lineage between hive ordinary tables a, b and c with the hive external table d, I check the code and found there is no "insert into" option in hive hook to generate lineage So my question is do you guys know how can I generate a lineage between hive external table and ordinary tables? I am using atlas 0.7-incubating Thanks so much for your help~ Qinglin
... View more
Labels:
- Labels:
-
Apache Atlas
-
Apache Hive
05-12-2017
02:21 AM
It's actually not the same issue, that jira one is met when I tired to delete a hbase table that has the same name of a column family of another hbase table. For example, if I have a hbase table "test1" with the column family "column_family", and the other hbase table "test2" and also a column family named "column_family", seems I cannot delete both tables, because they link to the same column family, and seems the issue here is because atlas cannot create two different entity with the same name, so the hbase table would refer to the same column family entity. And for the issue I mentioned in this thread, I just created another issue : Issue Thanks so much for you patient response!
... View more
05-11-2017
09:03 AM
Sure, what I did was: 1. build up a HBase Table entity 2. build up a lineage Process 3. set the process input and output to the same table entity The code is like: Referenceable table1 = atlasClient.getEntity(HBaseDataTypes.HBASE_TABLE_TYPE_NAME, AtlasClient.REFERENCEABLE_ATTRIBUTE_NAME, input_table_name); Referenceable table2 = atlasClient.getEntity(HBaseDataTypes.HBASE_TABLE_TYPE_NAME, AtlasClient.REFERENCEABLE_ATTRIBUTE_NAME, output_table_name); HBaseProcess process = new HBaseProcess("process"); process.setInput(table1.getId()); process.setoutput(table2.getId()); here I set the input_table_name and output_table_name the same string name, when I set them different values, the lineage pic can be shown for table1 and table2 successfully And there is error reported by the browser console, here is the screenshot: Have you met this problem before?
... View more
05-10-2017
08:06 AM
Hi Guys: I was working with the lineage for hbase, when I added a column family in a hbase table, I want to create a lineage for the table to show there is a change within the table schema, yet when I create a process using the atlas api, I found that the process entity is successfully created, but the lineage is not shown on the atlas web page. the screenshot for this is: the lineage is just keep loading, so I am confused, is the input and output of a process entity must be different tables?
... View more
Labels:
- Labels:
-
Apache Atlas
04-10-2017
06:52 AM
I want to dive into the atlas source code, yet I am confused of how to run the source code in the intellij ide, is atlas-webapp the entrance of the source code I should run from? Which class should I run after I did the maven build? Thanks very much !
... View more
Labels:
- Labels:
-
Apache Atlas
03-29-2017
06:19 AM
Finally got it, the delete op in hdfs should correspond to the rename event, coz hdfs would move the removed files/dirs to the trash file first
... View more
03-29-2017
06:06 AM
Thanks I found those examples and run them already, but still not quite understand what unlink event do, also how the inotify works? Do you know any documentations explaining the inotify api?
... View more
03-29-2017
02:49 AM
Hi guys, I am working on writing a hdfs hook, yet I am not quite understand what does unlink event do, I found on this presentation that the delete log would be captured as a unlink event, but when I run a hadoop fs -rm /h.txt command, the unlink event is not captured? So what kind of hdfs commands would capture this unlink event ?
... View more
- Tags:
- Atlas
- Hadoop Core
- HDFS
Labels:
- Labels:
-
Apache Atlas
-
Apache Hadoop
03-29-2017
02:39 AM
Thanks for your reply, I just realize this is a stupid question lol
... View more
03-27-2017
06:14 AM
Hi Guys, I am writing a hdfs hook works with the apache atlas, but the atlas hdfs_path type requires the name of the hdfs file, I am currently working with the inotify api but cannot find a way to capture the name of the created file, do you guys have any idea about this?
... View more
Labels:
- Labels:
-
Apache Atlas
-
Apache Hadoop
01-09-2017
08:36 AM
I noticed atlas has put hdfs-path type in the 0.7 version, what does hdfs-path do in hdfs metadata, and if I want to create a hdfs bridge/hook myself, do I need to create additional types in atlas?
... View more
Labels:
- Labels:
-
Apache Atlas
-
Apache Hadoop
12-30-2016
03:26 AM
Thanks, I used this url to get the backup masters http://fsmanager:8080/api/v1/clusters/${cluster_name}/components/HBASE_MASTER?host_components/metrics/hbase/master/IsActiveMaster=false&fields=host_components/HostRoles/host_name
... View more
12-28-2016
08:43 AM
Hi, guys, I am tryign to write a autotest shell script killing the hmasters in HA mode, do you know how can I get the backup hmaster host address by using the command? I can manully find it in the ambari UI, but can not locate it by using the command
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache HBase
12-01-2016
08:18 AM
Thanks I think that solves my problem, I used to use the Zookeeper watcher but it can only get the hbase table modification.
... View more
11-30-2016
10:58 AM
Where is that table directory? Is it also in Zookeeper?
... View more
11-30-2016
10:19 AM
I am trying to write a zookeeper watcher to monitor hbase column family and hbase column modification. I know Hbase table is saved as a znode under the /table znode, but I did not get much info about how do zookeeper save the metadata of hbase column family and hbase column, so How can I get notified when there is any modification in hbase column family or hbase columns ?
... View more
Labels:
- Labels:
-
Apache Atlas
-
Apache HBase
11-24-2016
11:07 AM
Thanks so much, it works now
... View more
11-24-2016
09:38 AM
Hi guys, I 've got another question for Atlas, I finally installed and got Atlas 0.7 run on my server, but when I tried to post new types to Atlas, it got a 401 which is Full authentication is required to access this resource, do you know what should I do to get the admission to access the api? Qinglin
... View more
Labels:
- Labels:
-
Apache Atlas
11-24-2016
08:13 AM
did you replace the /server/webapp/atlas folder? I also replace this folder but there are errors reported
... View more
11-22-2016
10:40 AM
yes, exactly the same issue. I got this error Overrides.js:22 Uncaught TypeError: Cannot set property 'generateChildrenInfo' of undefined GET http://localhost:21000/js/libs/jquery-asBreadcrumbs/css/asBreadcrumbs.css 404
... View more
11-22-2016
10:28 AM
Thanks for your reply, it just says there is a css file missing, but would it cause the loading problem?
... View more
11-22-2016
10:24 AM
Hi Guys, I just upgraded my atlas from 0.6 to 0.7, it went all good except after starting the atlas-server. I tried to open the web UI of atlas, the login page shows, yet after logging in, the page keep loading and nothing actually shows, does anyone also met this problem, I checked the log but there is no error or warning reported in the logs/application.log, so I wonder what causes this problem? Qinglin
... View more
Labels:
- Labels:
-
Apache Atlas