Member since
09-11-2015
269
Posts
281
Kudos Received
55
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 4191 | 03-15-2017 07:12 AM | |
| 2514 | 03-14-2017 07:08 PM | |
| 3029 | 03-14-2017 03:36 PM | |
| 2482 | 02-28-2017 04:32 PM | |
| 1713 | 02-28-2017 10:02 AM |
11-19-2016
01:30 AM
@Sami Ahmad I dont see any errors in the log. Atlas startup seems to be proper. Can you try to clear the browser cache and try again? Also, which browser you are using? IE has some incompatibility issues.
... View more
11-18-2016
02:22 AM
2 Kudos
@J. D. Bacolod Below is the recommendation from the docs If you are using Atlas on HDP-2.3 or 2.4; Do Not upgrade to Ambari-2.4.x until you are ready to upgrade to HDP-2.5 with the new version of Atlas. https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-upgrade/content/upgrading_HDP_prerequisites.html The issue with respect to incompatible versions. So, please plan to upgrade accordingly as per the instructions from above link. Hope this helps.
... View more
11-17-2016
02:29 PM
1 Kudo
@Sami AhmadFrom the logs, looks like some of configuration files are missing in your installation. Below is the log snapshot for the missing files. /etc/atlas/conf/users-credentials.properties 2016-11-16 13:37:19,351 ERROR - [main:] ~ Error while reading user.properties file, filepath=/etc/atlas/conf/users-credentials.properties (UserDao:75)
java.io.FileNotFoundException: /etc/atlas/conf/users-credentials.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at org.apache.atlas.web.dao.UserDao.loadFileLoginsDetails(UserDao.java:67)
at org.apache.atlas.web.dao.UserDao.init(UserDao.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
at org.springframework.beans.factory.support.AbstractAuto
/etc/atlas/conf/policy-store.txt 2016-11-16 13:37:19,574 ERROR - [main:] ~ SimpleAtlasAuthorizer could not be initialized properly due to : (SimpleAtlasAuthorizer:114)
java.nio.file.NoSuchFileException: /etc/atlas/conf/policy-store.txt
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at java.nio.file.Files.newBufferedReader(Files.java:2677)
at java.nio.file.Files.readAllLines(Files.java:3033)
at org.apache.atlas.authorize.simple.FileReaderUtil.readFile(FileReaderUtil.java:41)
at org.apache.atlas.authorize.simple.SimpleAtlasAuthorizer.init(SimpleAtlasAuthorizer.java:92)
at org.apache.atlas.web.filters.AtlasAuthorizationFilter.<init>(AtlasAuthorizationFilter.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Make sure that, the above files are present and restart Atlas server. This should fix the issue.
... View more
11-02-2016
01:43 AM
1 Kudo
@cduby
From what I understand, Tags can be used for enforcing policies and filtering purpose.
For example:
Tag T has attributes Time, Location, Co-ordinates.
Tag T is associated with entity A, with attribute values Time=X, Location=Y, Co-ordinates=Z.
Tag T is also associated with different entities with different attribute values.
The use-case can be to fetch all entities whose location is "Y". The above tagging can help in filtering those entities with specific attributes.
AFAIK, filtering at the tag attribute level is not yet supported in Atlas.
... View more
11-01-2016
03:45 PM
@Bilal Arshad For better book-keeping, pls. accept the answer. thanks.
... View more
11-01-2016
02:44 PM
1 Kudo
@Bilal Arshad Seems like tests are failing, can you provide the complete stack trace? or you can just skip integration tests using --DskipITs and try? thanks.
... View more
11-01-2016
05:54 AM
2 Kudos
@Bilal Arshad This is usually due to temporary files in the project directory. Try deleting the temporary files/directories using below commands..
To remove directories, run git clean -f -d or git clean -fd To remove ignored files, run git clean -f -X or git clean -fX To remove ignored and non-ignored files, run git clean -f -x or git clean -fx
... View more
10-29-2016
12:36 AM
1 Kudo
@Karan Alang Are you seeing any exception in the atlas and hive logs? Can you please attach them here, this will help in further debugging.
... View more
10-27-2016
04:10 AM
1 Kudo
@Sunile Manjee Yes, you can get the entity GUID by using the entity name in the dsl search query(hive_table where name='<entity_name>'). For a hive table: regional_reporting, query looks like below. curl -u admin:admin 'http://atlas-testing-unsecure-1.openstacklocal:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table+where+name%3D%22regional_reporting%22' The response for this query will have GUID for that specific entity. {
"count": 1,
"dataType": {
"attributeDefinitions": [
{
"dataTypeName": "hive_db",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 1,
"upper": 1
},
"name": "db",
"reverseAttributeName": null
},
{
"dataTypeName": "date",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "createTime",
"reverseAttributeName": null
},
{
"dataTypeName": "date",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "lastAccessTime",
"reverseAttributeName": null
},
{
"dataTypeName": "string",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "comment",
"reverseAttributeName": null
},
{
"dataTypeName": "int",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "retention",
"reverseAttributeName": null
},
{
"dataTypeName": "hive_storagedesc",
"isComposite": true,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "sd",
"reverseAttributeName": null
},
{
"dataTypeName": "array<hive_column>",
"isComposite": true,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "partitionKeys",
"reverseAttributeName": null
},
{
"dataTypeName": "array<string>",
"isComposite": true,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "aliases",
"reverseAttributeName": null
},
{
"dataTypeName": "array<hive_column>",
"isComposite": true,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "columns",
"reverseAttributeName": null
},
{
"dataTypeName": "map<string,string>",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "parameters",
"reverseAttributeName": null
},
{
"dataTypeName": "string",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "viewOriginalText",
"reverseAttributeName": null
},
{
"dataTypeName": "string",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "viewExpandedText",
"reverseAttributeName": null
},
{
"dataTypeName": "string",
"isComposite": false,
"isIndexable": false,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "tableType",
"reverseAttributeName": null
},
{
"dataTypeName": "boolean",
"isComposite": false,
"isIndexable": true,
"isUnique": false,
"multiplicity": {
"isUnique": false,
"lower": 0,
"upper": 1
},
"name": "temporary",
"reverseAttributeName": null
}
],
"hierarchicalMetaTypeName": "org.apache.atlas.typesystem.types.ClassType",
"superTypes": [
"DataSet"
],
"typeDescription": null,
"typeName": "hive_table"
},
"query": "hive_table where name=\"regional_reporting\"",
"queryType": "dsl",
"requestId": "qtp1678008151-18 - 6a678cdc-fa25-48fd-862a-f560a10481ad",
"results": [
{
"$id$": {
"$typeName$": "hive_table",
"id": "9a2edbe6-c736-4189-af9a-4c15dead3f42",
"state": "ACTIVE",
"version": 0
},
"$typeName$": "hive_table",
"aliases": null,
"columns": [
{
"$id$": {
"$typeName$": "hive_column",
"id": "2b123293-fad7-4220-9e79-b211d0438b32",
"state": "ACTIVE",
"version": 0
},
"$typeName$": "hive_column",
"comment": null,
"description": null,
"name": "imp",
"owner": "hive",
"qualifiedName": "demo.regional_reporting.imp@cl1",
"table": {
"$typeName$": "hive_table",
"id": "9a2edbe6-c736-4189-af9a-4c15dead3f42",
"state": "ACTIVE",
"version": 0
},
"type": "string"
},
{
"$id$": {
"$typeName$": "hive_column",
"id": "8e1e8795-72ab-41ea-8c15-2d9be8dd009a",
"state": "ACTIVE",
"version": 0
},
"$typeName$": "hive_column",
"comment": null,
"description": null,
"name": "hits",
"owner": "hive",
"qualifiedName": "demo.regional_reporting.hits@cl1",
"table": {
"$typeName$": "hive_table",
"id": "9a2edbe6-c736-4189-af9a-4c15dead3f42",
"state": "ACTIVE",
"version": 0
},
"type": "int"
}
],
"comment": null,
"createTime": "2016-10-18T18:49:44.000Z",
"db": {
"$typeName$": "hive_db",
"id": "0194de74-46ba-4ea3-8ebe-28afd1719428",
"state": "ACTIVE",
"version": 0
},
"description": null,
"lastAccessTime": "2016-10-18T18:49:44.000Z",
"name": "regional_reporting",
"owner": "hive",
"parameters": {
"COLUMN_STATS_ACCURATE": "{\"BASIC_STATS\":\"true\"}",
"numFiles": "0",
"numRows": "0",
"rawDataSize": "0",
"totalSize": "0",
"transient_lastDdlTime": "1476816584"
},
"partitionKeys": null,
"qualifiedName": "demo.regional_reporting@cl1",
"retention": 0,
"sd": {
"$id$": {
"$typeName$": "hive_storagedesc",
"id": "3b700b63-a8a5-4519-8d0b-52d3de3302fa",
"state": "ACTIVE",
"version": 0
},
"$typeName$": "hive_storagedesc",
"bucketCols": null,
"compressed": false,
"inputFormat": "org.apache.hadoop.mapred.TextInputFormat",
"location": "hdfs://atlas-testing-unsecure-5.openstacklocal:8020/apps/hive/warehouse/demo.db/regional_reporting",
"numBuckets": -1,
"outputFormat": "org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
"parameters": null,
"qualifiedName": "demo.regional_reporting@cl1_storage",
"serdeInfo": {
"$typeName$": "hive_serde",
"name": null,
"parameters": {
"serialization.format": "1"
},
"serializationLib": "org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"
},
"sortCols": null,
"storedAsSubDirectories": false,
"table": {
"$typeName$": "hive_table",
"id": "9a2edbe6-c736-4189-af9a-4c15dead3f42",
"state": "ACTIVE",
"version": 0
}
},
"tableType": "MANAGED_TABLE",
"temporary": false,
"viewExpandedText": null,
"viewOriginalText": null
}
]
}
... View more
10-25-2016
05:57 AM
1 Kudo
There is no support for editing entities from UI as of now. But you can use the entity update REST API to update comment section for the hive table. Please refer to below documents for the same: http://atlas.incubator.apache.org/AtlasTechnicalUserGuide.pdf http://atlas.incubator.apache.org/api/resource_EntityResource.html
... View more