Build failed in Jenkins: apache-atlas-nightly #206

2016-03-01 Thread Apache Jenkins Server
See 

--
[...truncated 2274 lines...]
[INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @ 
atlas-repository ---
[WARNING] Zinc server is not available at port 3030 - reverting to normal 
incremental compile
[INFO] Using incremental compilation
[INFO] Compiling 9 Scala sources and 35 Java sources to 

[WARNING] 
:123:
 warning: non-varargs call of varargs method with inexact argument type for 
last parameter;
[WARNING] LOG.info("adding entities={}", entities);
[WARNING]^
[WARNING]   cast to Object for a varargs call
[WARNING]   cast to Object[] for a non-varargs call and to suppress this warning
[WARNING] 
:296:
 warning: non-varargs call of varargs method with inexact argument type for 
last parameter;
[WARNING] LOG.info("updating entity {}", entitiesUpdated);
[WARNING]^
[WARNING]   cast to Object for a varargs call
[WARNING]   cast to Object[] for a non-varargs call and to suppress this warning
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[WARNING] 2 warnings
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
atlas-repository ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 35 source files to 

[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- scala-maven-plugin:3.2.0:testCompile (scala-test-compile-first) @ 
atlas-repository ---
[WARNING] Zinc server is not available at port 3030 - reverting to normal 
incremental compile
[INFO] Using incremental compilation
[INFO] Compiling 8 Scala sources and 12 Java sources to 

[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
atlas-repository ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to 

[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-repository 
---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use 
forkCount and reuseForks instead.
[INFO] Surefire report directory: 

[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[WARNING] file.encoding cannot be set as system property, use 
-Dfile.encoding=... instead

---
 T E S T S
---
Running org.apache.atlas.service.DefaultMetadataServiceTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.507 sec - 
in org.apache.atlas.service.DefaultMetadataServiceTest
Running org.apache.atlas.discovery.HiveLineageServiceTest
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.659 sec - 
in org.apache.atlas.discovery.HiveLineageServiceTest
Running org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.598 sec - 
in org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Running 

[jira] [Created] (ATLAS-546) When Atlas is queried for table attributes with duplicate attributes, Atlas considers it as a full text query instead of a DSL query.

2016-03-01 Thread Sharmadha Sainath (JIRA)
Sharmadha Sainath created ATLAS-546:
---

 Summary: When Atlas is queried for table attributes with duplicate 
attributes, Atlas considers it as a full text query instead of a DSL query.
 Key: ATLAS-546
 URL: https://issues.apache.org/jira/browse/ATLAS-546
 Project: Atlas
  Issue Type: Bug
 Environment: apache-atlas-0.7-incubating-SNAPSHOT
Reporter: Sharmadha Sainath
Priority: Minor


When Atlas is queried for displaying attributes of a table like :
"hive_table where name='default.table_1@cluster1' select owner,name,owner"  
(owner is queried twice) , it is considered to be a full text query instead of 
a DSL query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-476) Update type attribute with Reserved characters updated the original type as unknown

2016-03-01 Thread Shwetha G S (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15175141#comment-15175141
 ] 

Shwetha G S commented on ATLAS-476:
---

Created ATLAS-545 to handle attribute names with $

> Update type attribute with Reserved characters updated the original type as 
> unknown
> ---
>
> Key: ATLAS-476
> URL: https://issues.apache.org/jira/browse/ATLAS-476
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: trunk
> Environment: sandbox
>Reporter: Chethana
>Assignee: Hemanth Yamijala
>Priority: Blocker
> Fix For: 0.7-incubating
>
> Attachments: 1.log, ATLAS-476.patch
>
>
> create a type with required attribute
> try to get this type created - the type data is returned
> try update this type by adding attribute with attribute name consisting of a 
> reserved character eg:test$
> this throws exception.
> Now use to get call to get the previously created type
> Expected:
> The type should not be updated.
> Actual:
> "error": "Unknown datatype: className_update_vsvrbzqaqg",
> "stackTrace": "org.apache.atlas.typesystem.exception.TypeNotFoundException: 
> Unknown datatype: className_update_vsvrbzqaqg\n\tat 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ATLAS-545) Attribute names with $ doesn't work

2016-03-01 Thread Shwetha G S (JIRA)
Shwetha G S created ATLAS-545:
-

 Summary: Attribute names with $ doesn't work
 Key: ATLAS-545
 URL: https://issues.apache.org/jira/browse/ATLAS-545
 Project: Atlas
  Issue Type: Bug
Reporter: Shwetha G S


Create index fails with attribute names that contain $:
{noformat}
2016-02-10 11:16:21,634 ERROR - [qtp1565844247-232 - 
ad7c63a0-be93-4344-bb33-5dd1f2d1f756:] ~ Error creating index for type 
org.apache.atlas.typesystem.types.ClassType@4c019ea6 
(GraphBackedSearchIndexer:154)
java.lang.IllegalArgumentException: Name can not contains reserved character $: 
className_update_7cyd8o3dnn.multiplicityOptional$
at 
com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
at 
com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker.checkName(StandardRelationTypeMaker.java:70)
at 
com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker.checkGeneralArguments(StandardRelationTypeMaker.java:79)
at 
com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker.makeDefinition(StandardRelationTypeMaker.java:113)
at 
com.thinkaurelius.titan.graphdb.types.StandardPropertyKeyMaker.make(StandardPropertyKeyMaker.java:76)
at 
org.apache.atlas.repository.graph.GraphBackedSearchIndexer.createCompositeAndMixedIndex(GraphBackedSearchIndexer.java:297)
at 
org.apache.atlas.repository.graph.GraphBackedSearchIndexer.createIndexForAttribute(GraphBackedSearchIndexer.java:212)
at 
org.apache.atlas.repository.graph.GraphBackedSearchIndexer.createIndexForFields(GraphBackedSearchIndexer.java:202)
at 
org.apache.atlas.repository.graph.GraphBackedSearchIndexer.addIndexForType(GraphBackedSearchIndexer.java:191)
at 
org.apache.atlas.repository.graph.GraphBackedSearchIndexer.onAdd(GraphBackedSearchIndexer.java:151)
at 
org.apache.atlas.repository.graph.GraphBackedSearchIndexer.onChange(GraphBackedSearchIndexer.java:166)
at 
org.apache.atlas.services.DefaultMetadataService.onTypesUpdated(DefaultMetadataService.java:645)
at 
org.apache.atlas.services.DefaultMetadataService.updateType(DefaultMetadataService.java:207)
at 
org.apache.atlas.web.resources.TypesResource.update(TypesResource.java:130)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: apache-atlas-nightly #204

2016-03-01 Thread Apache Jenkins Server
See 

--
[...truncated 89227 lines...]
[INFO] Exclude: .pc/**
[INFO] Exclude: debian/**
[INFO] Exclude: .svn/**
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: .bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (checkstyle-check) @ 
falcon-bridge ---
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (findbugs-check) @ falcon-bridge 
>>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ falcon-bridge ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (findbugs-check) @ falcon-bridge 
<<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (findbugs-check) @ falcon-bridge 
---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ falcon-bridge ---
[INFO] Executing: /bin/sh -c cd 
'/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge' 
&& 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 
/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge
[INFO] Storing buildNumber: de9b890dd05816cf3d71da7250e59ba760a9116f at 
timestamp: 1456895079920
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd 
'/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge' 
&& 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 
/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ falcon-bridge 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
falcon-bridge ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge/src/main/resources
[INFO] Copying 0 resource to META-INF
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @ 
falcon-bridge ---
[WARNING] Zinc server is not available at port 3030 - reverting to normal 
incremental compile
[INFO] Using incremental compilation
[INFO] Compiling 7 Java sources to 
/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge/target/classes...
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ falcon-bridge 
---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
falcon-bridge ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- scala-maven-plugin:3.2.0:testCompile (scala-test-compile-first) @ 
falcon-bridge ---
[WARNING] Zinc server is not available at port 3030 - reverting to normal 
incremental compile
[INFO] Using incremental compilation
[INFO] Compiling 1 Java source to 
/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge/target/test-classes...
[WARNING] Note: 
/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java
 uses unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
falcon-bridge ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ falcon-bridge ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-site-plugin:3.4:site (default) @ falcon-bridge ---
[INFO] maven.site.skip = true: Skipping site generation
[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ falcon-bridge ---
[INFO] Building jar: 
/x1/jenkins/jenkins-slave/workspace/apache-atlas-nightly/addons/falcon-bridge/target/falcon-bridge-0.7-incubating-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-dependency-plugin:2.10:copy (copy-hook-dependencies) @ 
falcon-bridge ---
[INFO] Configured Artifact: 
org.apache.atlas:falcon-bridge:0.7-incubating-SNAPSHOT:jar
[INFO] Configured Artifact: 

[jira] [Updated] (ATLAS-422) JavaDoc NotificationConsumer and NotificationInterface.

2016-03-01 Thread Shwetha G S (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shwetha G S updated ATLAS-422:
--
Attachment: ATLAS-422-additional.patch

Build was broken
{noformat}
[INFO] --- maven-checkstyle-plugin:2.9.1:check (checkstyle-check) @
atlas-notification ---
[INFO] Starting audit...
/home/jenkins/jenkins-slave/workspace/apache-atlas-nightly/notification/src
/main/java/org/apache/atlas/notification/NotificationConsumer.java:25:41:
'>' is followed by an illegal character.
Audit done.
{noformat}

Have committed the fix


> JavaDoc NotificationConsumer and NotificationInterface.
> ---
>
> Key: ATLAS-422
> URL: https://issues.apache.org/jira/browse/ATLAS-422
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Tom Beerbower
>Assignee: Tom Beerbower
> Fix For: 0.7-incubating
>
> Attachments: ATLAS-422-additional.patch, ATLAS-422.patch
>
>
> Missing javadocs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-479) Add description for different types during create time

2016-03-01 Thread Shwetha G S (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15175014#comment-15175014
 ] 

Shwetha G S commented on ATLAS-479:
---

Added a small test with description as null, serialisation works fine. 
Deserialisation fails. You need to debug:
{code}
@Test
public void testCls() throws Exception {
HierarchicalTypeDefinition clsType = TypesUtil
.createClassTypeDef("Random", ImmutableList.of(),
TypesUtil.createRequiredAttrDef("name", 
DataTypes.STRING_TYPE));
TypesDef typesDef = getTypesDef(clsType);
String json = TypesSerialization.toJson(typesDef);
System.out.println(json);
TypesSerialization.fromJson(json);
}
{code}

> Add description for different types during create time
> --
>
> Key: ATLAS-479
> URL: https://issues.apache.org/jira/browse/ATLAS-479
> Project: Atlas
>  Issue Type: Sub-task
>Affects Versions: 0.6-incubating
>Reporter: Neeru Gupta
>Assignee: Neeru Gupta
> Fix For: 0.7-incubating
>
> Attachments: graycol.gif, rb43531(6).patch
>
>
> Ability to specify description while creating different types like Struct, 
> Enum, Class and Trait type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-463) Disconnect inverse references

2016-03-01 Thread ATLAS QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15174744#comment-15174744
 ] 

ATLAS QA commented on ATLAS-463:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment
  http://issues.apache.org/jira/secure/attachment/12790797/rb43591.patch
  against master revision de9b890.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

+1 checkstyle.  The patch generated 0 code style errors.

{color:red}-1 findbugs{color}.  The patch appears to introduce 332 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The test build failed in  

Test results: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningsnotification.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningscommon.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningsclient.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningstitan.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningsrepository.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningswebapp.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningsfalcon-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/45//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/45//console

This message is automatically generated.

> Disconnect inverse references
> -
>
> Key: ATLAS-463
> URL: https://issues.apache.org/jira/browse/ATLAS-463
> Project: Atlas
>  Issue Type: Sub-task
>Reporter: David Kantor
>Assignee: David Kantor
> Attachments: rb43591.patch
>
>
> When deleting entity, disconnect any references to deletion candidate through 
> the inverse of a bi-directional reference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-544) Struct isUnique=true not respected by class at Instance time

2016-03-01 Thread Joseph Niemiec (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15174677#comment-15174677
 ] 

Joseph Niemiec commented on ATLAS-544:
--

Not an issue, problem with the test case for this. Closing. 

> Struct isUnique=true not respected by class at Instance time
> 
>
> Key: ATLAS-544
> URL: https://issues.apache.org/jira/browse/ATLAS-544
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
> Environment: Ubuntu 14, OpenJDK 64-Bit 1.7.0_95
>Reporter: Joseph Niemiec
>Priority: Minor
>
> When instancing an Entity of a given type that utilizes a struct with 
> attributeDefinitions which are set to "isUnique=true" multiple Entities can 
> be created with the same struct despite the isUnique flag. Currently the only 
> workaround is to make the struct as isUnique=true at a class level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: apache-atlas-nightly #203

2016-03-01 Thread Apache Jenkins Server
See 

Changes:

[sumasai.shivaprasad] ATLAS-422 JavaDoc NotificationConsumer and 
NotificationInterface.

--
[...truncated 3380 lines...]
3/3 KB   
 
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/atlas-client-0.7-incubating-20160301.225617-45.pom
 (3 KB at 17.2 KB/sec)
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/maven-metadata.xml
415/415 B   

Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/maven-metadata.xml
 (415 B at 2.8 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/maven-metadata.xml
2/2 KB  
 
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/maven-metadata.xml
 (2 KB at 5.4 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/maven-metadata.xml
415/415 B   

Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/maven-metadata.xml
 (415 B at 2.5 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/atlas-client-0.7-incubating-20160301.225617-45-sources.jar
2/24 KB 
4/24 KB   
6/24 KB   
8/24 KB   
10/24 KB   
12/24 KB   
14/24 KB   
16/24 KB   
18/24 KB   
20/24 KB   
22/24 KB   
24/24 KB   
   
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/atlas-client-0.7-incubating-20160301.225617-45-sources.jar
 (24 KB at 133.0 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/maven-metadata.xml
2/2 KB 
 
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/maven-metadata.xml
 (2 KB at 8.4 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/atlas-client-0.7-incubating-20160301.225617-45-test-sources.jar
2/10 KB   
4/10 KB   
6/10 KB   
8/10 KB   
10/10 KB   
   
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/atlas-client-0.7-incubating-20160301.225617-45-test-sources.jar
 (10 KB at 54.2 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/maven-metadata.xml
2/2 KB 
 
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/atlas/atlas-client/0.7-incubating-SNAPSHOT/maven-metadata.xml
 (2 KB at 8.1 KB/sec)
[INFO] 
[INFO] 
[INFO] Building Apache Atlas Notification 0.7-incubating-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atlas-notification ---
[INFO] Deleting 

[INFO] Deleting 
 (includes 
= [**/*.pyc], excludes = [])
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ atlas-notification 
---
[INFO] Executing: /bin/sh -c cd 
' && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

[INFO] Storing buildNumber: de9b890dd05816cf3d71da7250e59ba760a9116f at 
timestamp: 1456872978974
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd 
' && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
atlas-notification ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 

[jira] [Updated] (ATLAS-544) Struct isUnique=true not respected by Class at Instance time

2016-03-01 Thread Joseph Niemiec (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Niemiec updated ATLAS-544:
-
Summary: Struct isUnique=true not respected by Class at Instance time  
(was: Struct isUnique=true not respected by class at Instance time)

> Struct isUnique=true not respected by Class at Instance time
> 
>
> Key: ATLAS-544
> URL: https://issues.apache.org/jira/browse/ATLAS-544
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
> Environment: Ubuntu 14, OpenJDK 64-Bit 1.7.0_95
>Reporter: Joseph Niemiec
>Priority: Minor
>
> When instancing an Entity of a given type that utilizes a struct with 
> attributeDefinitions which are set to "isUnique=true" multiple Entities can 
> be created with the same struct despite the isUnique flag. Currently the only 
> workaround is to make the struct as isUnique=true at a class level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-544) Struct isUnique=true not respected by class at Instance time

2016-03-01 Thread Joseph Niemiec (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Niemiec updated ATLAS-544:
-
Description: When instancing an Entity of a given type that utilizes a 
struct with attributeDefinitions which are set to "isUnique=true" multiple 
Entities can be created with the same struct despite the isUnique flag. 
Currently the only workaround is to make the struct as isUnique=true at a class 
level.  (was: When instancing an Entity of a given type that utilizes a struct 
the attributeDefinitions which are set to "isUnique=true" multiple Entities can 
be created with the same struct despite the isUnique flag. Currently the only 
workaround is to make the struct as isUnique=true at a class level.)

> Struct isUnique=true not respected by class at Instance time
> 
>
> Key: ATLAS-544
> URL: https://issues.apache.org/jira/browse/ATLAS-544
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
> Environment: Ubuntu 14, OpenJDK 64-Bit 1.7.0_95
>Reporter: Joseph Niemiec
>Priority: Minor
>
> When instancing an Entity of a given type that utilizes a struct with 
> attributeDefinitions which are set to "isUnique=true" multiple Entities can 
> be created with the same struct despite the isUnique flag. Currently the only 
> workaround is to make the struct as isUnique=true at a class level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-543) Entity Instance requests should not require ID element for new Entities

2016-03-01 Thread Joseph Niemiec (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Niemiec updated ATLAS-543:
-
Summary: Entity Instance requests should not require ID element for new 
Entities  (was: Entity Instance requests should not require ID element)

> Entity Instance requests should not require ID element for new Entities
> ---
>
> Key: ATLAS-543
> URL: https://issues.apache.org/jira/browse/ATLAS-543
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
> Environment: Ubuntu 14, OpenJDK 64-Bit 1.7.0_95
>Reporter: Joseph Niemiec
>Priority: Minor
>
> When utilizing the REST API to create an 'new' Entity Instance of a given 
> Type all ID elements for the class and structs are required, requests without 
> these elements will fail despite the fact a random GUID will be assigned at 
> instance time. 
> #
> Example 1 (Good Entity Posts correctly) 
> #
> {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "id": {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
>   "id": "-984848",
>   "version": 0,
>   "typeName": "HDFS_RESOURCE"
>   },
>   "typeName": "HDFS_RESOURCE",
>   "values": {
>   "name": "Cluser_A_DevFolder_A",
>   "description": "Fully Public Dev Folder",
>   "resource": {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "id": {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
>   "id": "-2630837415522",
>   "version": 0,
>   "typeName": "HDFS_OBJECT"
>   },
>   "typeName": "HDFS_OBJECT",
>   "values": {
>   "uri": "/user/dev/a",
>   "isDir" : true
>   },
>   "traitNames": [],
>   "traits": {}
>   }
>   },
>   "traitNames": ["Public"],
>   "traits": {
>   "Public": {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
>   "typeName": "Public",
>   "values": { }
>   }
>   }
> }
> 
> Example #2 Bad Entity that fails.
> 
> {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "typeName": "HDFS_RESOURCE",
>   "values": {
>   "name": "Cluser_A_DevFolder_A",
>   "description": "Fully Public Dev Folder",
>   "resource": {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
>   "typeName": "HDFS_OBJECT",
>   "values": {
>   "uri": "/user/dev/a",
>   "isDir" : true
>   },
>   "traitNames": [],
>   "traits": {}
>   }
>   },
>   "traitNames": ["Public"],
>   "traits": {
>   "Public": {
>   "jsonClass": 
> "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
>   "typeName": "Public",
>   "values": { }
>   }
>   }
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (ATLAS-544) Struct isUnique=true not respected by class at Instance time

2016-03-01 Thread Joseph Niemiec (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Niemiec resolved ATLAS-544.
--
Resolution: Cannot Reproduce

> Struct isUnique=true not respected by class at Instance time
> 
>
> Key: ATLAS-544
> URL: https://issues.apache.org/jira/browse/ATLAS-544
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.6-incubating
> Environment: Ubuntu 14, OpenJDK 64-Bit 1.7.0_95
>Reporter: Joseph Niemiec
>Priority: Minor
>
> When instancing an Entity of a given type that utilizes a struct with 
> attributeDefinitions which are set to "isUnique=true" multiple Entities can 
> be created with the same struct despite the isUnique flag. Currently the only 
> workaround is to make the struct as isUnique=true at a class level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ATLAS-544) Struct isUnique=true not respected by class at Instance time

2016-03-01 Thread Joseph Niemiec (JIRA)
Joseph Niemiec created ATLAS-544:


 Summary: Struct isUnique=true not respected by class at Instance 
time
 Key: ATLAS-544
 URL: https://issues.apache.org/jira/browse/ATLAS-544
 Project: Atlas
  Issue Type: Bug
Affects Versions: 0.6-incubating
 Environment: Ubuntu 14, OpenJDK 64-Bit 1.7.0_95
Reporter: Joseph Niemiec
Priority: Minor


When instancing an Entity of a given type that utilizes a struct the 
attributeDefinitions which are set to "isUnique=true" multiple Entities can be 
created with the same struct despite the isUnique flag. Currently the only 
workaround is to make the struct as isUnique=true at a class level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-543) Entity Instance requests should not require ID element

2016-03-01 Thread Joseph Niemiec (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Niemiec updated ATLAS-543:
-
Description: 
When utilizing the REST API to create an 'new' Entity Instance of a given Type 
all ID elements for the class and structs are required, requests without these 
elements will fail despite the fact a random GUID will be assigned at instance 
time. 

#
Example 1 (Good Entity Posts correctly) 
#
{
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"id": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"id": "-984848",
"version": 0,
"typeName": "HDFS_RESOURCE"
},
"typeName": "HDFS_RESOURCE",
"values": {
"name": "Cluser_A_DevFolder_A",
"description": "Fully Public Dev Folder",
"resource": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"id": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"id": "-2630837415522",
"version": 0,
"typeName": "HDFS_OBJECT"
},
"typeName": "HDFS_OBJECT",
"values": {
"uri": "/user/dev/a",
"isDir" : true
},
"traitNames": [],
"traits": {}
}
},
"traitNames": ["Public"],
"traits": {
"Public": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
"typeName": "Public",
"values": { }
}
}
}




Example #2 Bad Entity that fails.

{
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"typeName": "HDFS_RESOURCE",
"values": {
"name": "Cluser_A_DevFolder_A",
"description": "Fully Public Dev Folder",
"resource": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"typeName": "HDFS_OBJECT",
"values": {
"uri": "/user/dev/a",
"isDir" : true
},
"traitNames": [],
"traits": {}
}
},
"traitNames": ["Public"],
"traits": {
"Public": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
"typeName": "Public",
"values": { }
}
}
}


  was:
When utilizing the REST API to create an 'new' Entity Instance of a given Type 
all ID elements for the class and structs are required, requests without these 
elements will fail despite the fact a random GUID will be assigned at instance 
time. 

Example 1 (Good Entity Posts correctly) 
{
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"id": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"id": "-984848",
"version": 0,
"typeName": "HDFS_RESOURCE"
},
"typeName": "HDFS_RESOURCE",
"values": {
"name": "Cluser_A_DevFolder_A",
"description": "Fully Public Dev Folder",
"resource": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"id": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"id": "-2630837415522",
"version": 0,
"typeName": "HDFS_OBJECT"
},
"typeName": "HDFS_OBJECT",
"values": {
"uri": "/user/dev/a",
"isDir" : true
},
"traitNames": [],
"traits": {}
}
},
"traitNames": ["Public"],
"traits": {
"Public": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
"typeName": "Public",
"values": { }

[jira] [Created] (ATLAS-543) Entity Instance requests should not require ID element

2016-03-01 Thread Joseph Niemiec (JIRA)
Joseph Niemiec created ATLAS-543:


 Summary: Entity Instance requests should not require ID element
 Key: ATLAS-543
 URL: https://issues.apache.org/jira/browse/ATLAS-543
 Project: Atlas
  Issue Type: Bug
Affects Versions: 0.6-incubating
 Environment: Ubuntu 14, OpenJDK 64-Bit 1.7.0_95
Reporter: Joseph Niemiec
Priority: Minor


When utilizing the REST API to create an 'new' Entity Instance of a given Type 
all ID elements for the class and structs are required, requests without these 
elements will fail despite the fact a random GUID will be assigned at instance 
time. 

Example 1 (Good Entity Posts correctly) 
{
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"id": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"id": "-984848",
"version": 0,
"typeName": "HDFS_RESOURCE"
},
"typeName": "HDFS_RESOURCE",
"values": {
"name": "Cluser_A_DevFolder_A",
"description": "Fully Public Dev Folder",
"resource": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"id": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"id": "-2630837415522",
"version": 0,
"typeName": "HDFS_OBJECT"
},
"typeName": "HDFS_OBJECT",
"values": {
"uri": "/user/dev/a",
"isDir" : true
},
"traitNames": [],
"traits": {}
}
},
"traitNames": ["Public"],
"traits": {
"Public": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
"typeName": "Public",
"values": { }
}
}
}


Example #2 Bad Entity that fails.
{
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"typeName": "HDFS_RESOURCE",
"values": {
"name": "Cluser_A_DevFolder_A",
"description": "Fully Public Dev Folder",
"resource": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"typeName": "HDFS_OBJECT",
"values": {
"uri": "/user/dev/a",
"isDir" : true
},
"traitNames": [],
"traits": {}
}
},
"traitNames": ["Public"],
"traits": {
"Public": {
"jsonClass": 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
"typeName": "Public",
"values": { }
}
}
}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-463) Disconnect inverse references

2016-03-01 Thread David Kantor (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Kantor updated ATLAS-463:
---
Attachment: rb43591.patch

> Disconnect inverse references
> -
>
> Key: ATLAS-463
> URL: https://issues.apache.org/jira/browse/ATLAS-463
> Project: Atlas
>  Issue Type: Sub-task
>Reporter: David Kantor
>Assignee: David Kantor
> Attachments: rb43591.patch
>
>
> When deleting entity, disconnect any references to deletion candidate through 
> the inverse of a bi-directional reference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-463) Disconnect inverse references

2016-03-01 Thread David Kantor (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Kantor updated ATLAS-463:
---
Attachment: (was: rb43591.patch)

> Disconnect inverse references
> -
>
> Key: ATLAS-463
> URL: https://issues.apache.org/jira/browse/ATLAS-463
> Project: Atlas
>  Issue Type: Sub-task
>Reporter: David Kantor
>Assignee: David Kantor
>
> When deleting entity, disconnect any references to deletion candidate through 
> the inverse of a bi-directional reference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-474) Server does not start if the type is updated with same super type class information

2016-03-01 Thread ATLAS QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15174147#comment-15174147
 ] 

ATLAS QA commented on ATLAS-474:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment
  http://issues.apache.org/jira/secure/attachment/12790739/rb44100.patch
  against master revision 92574b5.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

+1 checkstyle.  The patch generated 0 code style errors.

{color:red}-1 findbugs{color}.  The patch appears to introduce 334 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in :
 
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.EntityJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.MetadataDiscoveryJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.RexsterGraphJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.AdminJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.TypesJerseyResourceIT
./webapp/target/failsafe-reports/junitreports/TEST-org.apache.atlas.examples.QuickStartIT

Test results: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsnotification.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningscommon.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsclient.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningstitan.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsrepository.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningswebapp.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsfalcon-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//console

This message is automatically generated.

> Server does not start if the type is updated with same super type class 
> information
> ---
>
> Key: ATLAS-474
> URL: https://issues.apache.org/jira/browse/ATLAS-474
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: trunk
> Environment: sandbox
>Reporter: Chethana
>Assignee: David Kantor
>Priority: Blocker
> Attachments: rb44100.patch
>
>
> Create a class with a superType class.
> Use update API and do not change the request used.
> Restart atlas server 
> Fails with exception
> K":1},"pattern":"static","timestamp":"1454921806183"} stored data: 
> {"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921372384"}
>  (ZkUtils$:68)
> 2016-02-09 00:00:02,149 INFO  - [ZkClient-EventThread-91-localhost:9026:] ~ I 
> wrote this conflicted ephemeral node 
> [{"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921806183"}]
>  at /consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 a 
> while back in a different session, hence I will backoff for this node to be 
> deleted by Zookeeper and retry (ZkUtils$:68)
> 2016-02-09 00:00:02,554 INFO  - [ProcessThread(sid:0 cport:-1)::] ~ Got 
> user-level KeeperException when processing sessionid:0x152a1b9238e0051 
> type:create cxid:0x3f0bf zxid:0x1c0ec txntype:-1 reqpath:n/a Error 
> 

[jira] [Commented] (ATLAS-479) Add description for different types during create time

2016-03-01 Thread ATLAS QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15173994#comment-15173994
 ] 

ATLAS QA commented on ATLAS-479:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment
  http://issues.apache.org/jira/secure/attachment/12790734/rb43531%286%29.patch
  against master revision 92574b5.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 5 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

+1 checkstyle.  The patch generated 0 code style errors.

{color:red}-1 findbugs{color}.  The patch appears to introduce 335 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in :
   org.apache.atlas.typesystem.json.TypesSerializationTest
./typesystem/target/surefire-reports/junitreports/TEST-org.apache.atlas.typesystem.json.TypesSerializationTest
  
com.thinkaurelius.titan.diskstorage.locking.LocalLockMediatorTest
./titan/target/surefire-reports/junitreports/TEST-com.thinkaurelius.titan.diskstorage.locking.LocalLockMediatorTest

Test results: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningsnotification.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningscommon.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningsclient.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningstitan.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningsrepository.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningswebapp.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningsfalcon-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/43//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/43//console

This message is automatically generated.

> Add description for different types during create time
> --
>
> Key: ATLAS-479
> URL: https://issues.apache.org/jira/browse/ATLAS-479
> Project: Atlas
>  Issue Type: Sub-task
>Affects Versions: 0.6-incubating
>Reporter: Neeru Gupta
>Assignee: Neeru Gupta
> Fix For: 0.7-incubating
>
> Attachments: graycol.gif, rb43531(6).patch
>
>
> Ability to specify description while creating different types like Struct, 
> Enum, Class and Trait type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: apache-atlas-nightly #202

2016-03-01 Thread Apache Jenkins Server
See 

Changes:

[sshivalingamurthy] ATLAS-536 Falcon hook loads incorrect configuration when 
-Datlas.conf is

--
[...truncated 92163 lines...]
127.0.0.1 - - [01/Mar/2016:08:40:12 +] "GET 
/api/atlas/discovery/search?query=hive_db+where+name+%3D+'dbofl4c6rcls'+and+clusterName+%3D+'test'
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:25 +] "OPTIONS 
/api/atlas/discovery/search?query=hive_db+where+name+%3D+'dbofl4c6rcls'+and+clusterName+%3D+'test'=jenkins
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:25 +] "GET 
/api/atlas/discovery/search?query=hive_db+where+name+%3D+'dbofl4c6rcls'+and+clusterName+%3D+'test'
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:38 +] "OPTIONS 
/api/atlas/entities/f2e94408-2d3c-4df9-98ce-70fb9b302dad?user.name=jenkins 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:38 +] "GET 
/api/atlas/entities/f2e94408-2d3c-4df9-98ce-70fb9b302dad HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:39 +] "OPTIONS 
/api/atlas/entities?user.name=jenkins HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:39 +] "PUT /api/atlas/entities HTTP/1.1" 
200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:41 +] "OPTIONS 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablenpgbs5lwjr',+db+where+name+%3D+'dbtgowwtitid'+and+clusterName+%3D+'test'+select+t=jenkins
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:41 +] "OPTIONS 
/api/atlas/entities?user.name=jenkins HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:41 +] "PUT /api/atlas/entities HTTP/1.1" 
200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:41 +] "GET 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablenpgbs5lwjr',+db+where+name+%3D+'dbtgowwtitid'+and+clusterName+%3D+'test'+select+t
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:55 +] "OPTIONS 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablenpgbs5lwjr',+db+where+name+%3D+'dbtgowwtitid'+and+clusterName+%3D+'test'+select+t=jenkins
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:40:55 +] "GET 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablenpgbs5lwjr',+db+where+name+%3D+'dbtgowwtitid'+and+clusterName+%3D+'test'+select+t
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:08 +] "OPTIONS 
/api/atlas/discovery/search?query=hive_column+where+name+%3D+'colqjaooopwoh'=jenkins
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:08 +] "GET 
/api/atlas/discovery/search?query=hive_column+where+name+%3D+'colqjaooopwoh' 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:20 +] "OPTIONS 
/api/atlas/discovery/search?query=hive_column+where+name+%3D+'colqjaooopwoh'=jenkins
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:20 +] "GET 
/api/atlas/discovery/search?query=hive_column+where+name+%3D+'colqjaooopwoh' 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:32 +] "OPTIONS 
/api/atlas/entities/d6257f26-e473-44e7-834e-e3f8fd0f33bd?user.name=jenkins 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:32 +] "GET 
/api/atlas/entities/d6257f26-e473-44e7-834e-e3f8fd0f33bd HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:34 +] "OPTIONS 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablea6fjwt1utl',+db+where+name+%3D+'default'+and+clusterName+%3D+'test'+select+t=jenkins
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:34 +] "OPTIONS 
/api/atlas/entities?user.name=jenkins HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:34 +] "PUT /api/atlas/entities HTTP/1.1" 
200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:34 +] "GET 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablea6fjwt1utl',+db+where+name+%3D+'default'+and+clusterName+%3D+'test'+select+t
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:48 +] "OPTIONS 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablea6fjwt1utl',+db+where+name+%3D+'default'+and+clusterName+%3D+'test'+select+t=jenkins
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:41:48 +] "GET 
/api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablea6fjwt1utl',+db+where+name+%3D+'default'+and+clusterName+%3D+'test'+select+t
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:42:00 +] "OPTIONS 
/api/atlas/entities/7e1c8b39-bbc0-4776-a3ed-0ac4d63aa132?user.name=jenkins 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [01/Mar/2016:08:42:00 +] "GET 

[jira] [Commented] (ATLAS-474) Server does not start if the type is updated with same super type class information

2016-03-01 Thread Neeru Gupta (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15173937#comment-15173937
 ] 

Neeru Gupta commented on ATLAS-474:
---

+1 . Have reviewed the code and looks good to me.

> Server does not start if the type is updated with same super type class 
> information
> ---
>
> Key: ATLAS-474
> URL: https://issues.apache.org/jira/browse/ATLAS-474
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: trunk
> Environment: sandbox
>Reporter: Chethana
>Assignee: David Kantor
>Priority: Blocker
>
> Create a class with a superType class.
> Use update API and do not change the request used.
> Restart atlas server 
> Fails with exception
> K":1},"pattern":"static","timestamp":"1454921806183"} stored data: 
> {"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921372384"}
>  (ZkUtils$:68)
> 2016-02-09 00:00:02,149 INFO  - [ZkClient-EventThread-91-localhost:9026:] ~ I 
> wrote this conflicted ephemeral node 
> [{"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921806183"}]
>  at /consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 a 
> while back in a different session, hence I will backoff for this node to be 
> deleted by Zookeeper and retry (ZkUtils$:68)
> 2016-02-09 00:00:02,554 INFO  - [ProcessThread(sid:0 cport:-1)::] ~ Got 
> user-level KeeperException when processing sessionid:0x152a1b9238e0051 
> type:create cxid:0x3f0bf zxid:0x1c0ec txntype:-1 reqpath:n/a Error 
> Path:/consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 
> Error:KeeperErrorCode = NodeExists for 
> /consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 
> (PrepRequest...skipping...
> at 
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
> at org.eclipse.jetty.server.Server.doStart(Server.java:354)
> at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at 
> org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:88)
> at org.apache.atlas.Atlas.main(Atlas.java:107)
> Caused by: java.lang.RuntimeException: org.apache.atlas.AtlasException: Type 
> classa3ozcd7yra extends superType superClassa3ozcd7yra multiple times
> at 
> org.apache.atlas.services.DefaultMetadataService.restoreTypeSystem(DefaultMetadataService.java:113)
> at 
> org.apache.atlas.services.DefaultMetadataService.(DefaultMetadataService.java:100)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at 
> com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:86)
> at 
> com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-474) Server does not start if the type is updated with same super type class information

2016-03-01 Thread David Kantor (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Kantor updated ATLAS-474:
---
Attachment: rb44100.patch

> Server does not start if the type is updated with same super type class 
> information
> ---
>
> Key: ATLAS-474
> URL: https://issues.apache.org/jira/browse/ATLAS-474
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: trunk
> Environment: sandbox
>Reporter: Chethana
>Assignee: David Kantor
>Priority: Blocker
> Attachments: rb44100.patch
>
>
> Create a class with a superType class.
> Use update API and do not change the request used.
> Restart atlas server 
> Fails with exception
> K":1},"pattern":"static","timestamp":"1454921806183"} stored data: 
> {"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921372384"}
>  (ZkUtils$:68)
> 2016-02-09 00:00:02,149 INFO  - [ZkClient-EventThread-91-localhost:9026:] ~ I 
> wrote this conflicted ephemeral node 
> [{"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921806183"}]
>  at /consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 a 
> while back in a different session, hence I will backoff for this node to be 
> deleted by Zookeeper and retry (ZkUtils$:68)
> 2016-02-09 00:00:02,554 INFO  - [ProcessThread(sid:0 cport:-1)::] ~ Got 
> user-level KeeperException when processing sessionid:0x152a1b9238e0051 
> type:create cxid:0x3f0bf zxid:0x1c0ec txntype:-1 reqpath:n/a Error 
> Path:/consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 
> Error:KeeperErrorCode = NodeExists for 
> /consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 
> (PrepRequest...skipping...
> at 
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
> at org.eclipse.jetty.server.Server.doStart(Server.java:354)
> at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at 
> org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:88)
> at org.apache.atlas.Atlas.main(Atlas.java:107)
> Caused by: java.lang.RuntimeException: org.apache.atlas.AtlasException: Type 
> classa3ozcd7yra extends superType superClassa3ozcd7yra multiple times
> at 
> org.apache.atlas.services.DefaultMetadataService.restoreTypeSystem(DefaultMetadataService.java:113)
> at 
> org.apache.atlas.services.DefaultMetadataService.(DefaultMetadataService.java:100)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at 
> com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:86)
> at 
> com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-479) Add description for different types during create time

2016-03-01 Thread Neeru Gupta (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neeru Gupta updated ATLAS-479:
--
Attachment: rb43531(6).patch

> Add description for different types during create time
> --
>
> Key: ATLAS-479
> URL: https://issues.apache.org/jira/browse/ATLAS-479
> Project: Atlas
>  Issue Type: Sub-task
>Affects Versions: 0.6-incubating
>Reporter: Neeru Gupta
>Assignee: Neeru Gupta
> Fix For: 0.7-incubating
>
> Attachments: graycol.gif, rb43531(6).patch
>
>
> Ability to specify description while creating different types like Struct, 
> Enum, Class and Trait type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-479) Add description for different types during create time

2016-03-01 Thread Neeru Gupta (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neeru Gupta updated ATLAS-479:
--
Attachment: (was: rb43531(5).patch)

> Add description for different types during create time
> --
>
> Key: ATLAS-479
> URL: https://issues.apache.org/jira/browse/ATLAS-479
> Project: Atlas
>  Issue Type: Sub-task
>Affects Versions: 0.6-incubating
>Reporter: Neeru Gupta
>Assignee: Neeru Gupta
> Fix For: 0.7-incubating
>
> Attachments: graycol.gif
>
>
> Ability to specify description while creating different types like Struct, 
> Enum, Class and Trait type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-479) Add description for different types during create time

2016-03-01 Thread Shwetha G S (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15173889#comment-15173889
 ] 

Shwetha G S commented on ATLAS-479:
---

Even I ran 'mvn clean install' on my mac laptop

> Add description for different types during create time
> --
>
> Key: ATLAS-479
> URL: https://issues.apache.org/jira/browse/ATLAS-479
> Project: Atlas
>  Issue Type: Sub-task
>Affects Versions: 0.6-incubating
>Reporter: Neeru Gupta
>Assignee: Neeru Gupta
> Fix For: 0.7-incubating
>
> Attachments: graycol.gif, rb43531(5).patch
>
>
> Ability to specify description while creating different types like Struct, 
> Enum, Class and Trait type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ATLAS-479) Add description for different types during create time

2016-03-01 Thread Neeru Gupta (JIRA)

 [ 
https://issues.apache.org/jira/browse/ATLAS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neeru Gupta updated ATLAS-479:
--
Attachment: graycol.gif


Hi Shwetha,

Thanks for reviewing the code. I have seen the test failures in ATLS-QA
builds. I am unable to reproduce these issues in my environment. Can you
please let me know if you ran tests on QA build or on separate server. How
are you running the tests. I ran mvn clean install from root folder.

-Neeru



From:   "Shwetha G S (JIRA)" 
To: Fnu Neerju/Boston/IBM@IBMUS
Date:   03/01/2016 01:17 AM
Subject:[jira] [Commented] (ATLAS-479) Add description for different
types during create time




[
https://issues.apache.org/jira/browse/ATLAS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15173293#comment-15173293
 ]

Shwetha G S commented on ATLAS-479:
---

Tests failed for me with the latest patch. Updated review board. Can you
check?

Struct, Enum, Class and Trait type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)




> Add description for different types during create time
> --
>
> Key: ATLAS-479
> URL: https://issues.apache.org/jira/browse/ATLAS-479
> Project: Atlas
>  Issue Type: Sub-task
>Affects Versions: 0.6-incubating
>Reporter: Neeru Gupta
>Assignee: Neeru Gupta
> Fix For: 0.7-incubating
>
> Attachments: graycol.gif, rb43531(5).patch
>
>
> Ability to specify description while creating different types like Struct, 
> Enum, Class and Trait type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-500) UI: Search Default

2016-03-01 Thread Hemanth Yamijala (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15173859#comment-15173859
 ] 

Hemanth Yamijala commented on ATLAS-500:


The issue I see is the scenario where the user switches from Full text to DSL. 
The UI fires a query immediately on this event. Mostly the free text in the 
search box would not be a valid DSL query and hence would result in the error. 
A better error message (or even just saying No search results found) would be 
good enough.

> UI: Search Default
> --
>
> Key: ATLAS-500
> URL: https://issues.apache.org/jira/browse/ATLAS-500
> Project: Atlas
>  Issue Type: Improvement
>Affects Versions: 0.7-incubating
>Reporter: Erik Bergenholtz
>Assignee: Sanjay Patel
> Fix For: 0.7-incubating
>
> Attachments: ATLAS-500-error.png, ATLAS-500-v0.patch
>
>
> The UI should provide a means of selecting the type of search performed. The 
> UI should not default to a fulltext search unless explicitly directed by the 
> user. This can be confusing to the user.
> If the DSL search does no result in any 'hits', it should so indicate.
> The search bar should provide a means by which the user can specify what type 
> of search to perform. One of:
> - DSL
> - FreeText
> (Gremlin should not be offered as an option through the UI)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-476) Update type attribute with Reserved characters updated the original type as unknown

2016-03-01 Thread Hemanth Yamijala (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15173466#comment-15173466
 ] 

Hemanth Yamijala commented on ATLAS-476:


I rebased and applied the patch again. Running {{mvn clean test -DskipTests}} 
which is the last command on the console does not show me any compile errors.

[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] apache-atlas ... SUCCESS [  2.907 s]
[INFO] Apache Atlas Common  SUCCESS [  3.412 s]
[INFO] Apache Atlas Typesystem  SUCCESS [ 26.516 s]
[INFO] Apache Atlas Server API  SUCCESS [  1.620 s]
[INFO] Apache Atlas Client  SUCCESS [  6.191 s]
[INFO] Apache Atlas Notification .. SUCCESS [  4.447 s]
[INFO] Apache Atlas Titan . SUCCESS [ 10.872 s]
[INFO] Apache Atlas Repository  SUCCESS [ 40.185 s]
[INFO] Apache Atlas UI  SUCCESS [01:04 min]
[INFO] Apache Atlas Web Application ... SUCCESS [  9.132 s]
[INFO] Apache Atlas Documentation . SUCCESS [  0.443 s]
[INFO] Apache Atlas Hive Bridge ... SUCCESS [  6.485 s]
[INFO] Apache Atlas Falcon Bridge . SUCCESS [  4.213 s]
[INFO] Apache Atlas Sqoop Bridge .. SUCCESS [  3.530 s]
[INFO] Apache Atlas Storm Bridge .. SUCCESS [  9.279 s]
[INFO] Apache Atlas Distribution .. SUCCESS [  0.628 s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 03:15 min
[INFO] Finished at: 2016-03-01T14:36:21+05:30
[INFO] Final Memory: 120M/598M
[INFO] 

What else should I be checking?

> Update type attribute with Reserved characters updated the original type as 
> unknown
> ---
>
> Key: ATLAS-476
> URL: https://issues.apache.org/jira/browse/ATLAS-476
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: trunk
> Environment: sandbox
>Reporter: Chethana
>Assignee: Hemanth Yamijala
>Priority: Blocker
> Fix For: 0.7-incubating
>
> Attachments: 1.log, ATLAS-476.patch
>
>
> create a type with required attribute
> try to get this type created - the type data is returned
> try update this type by adding attribute with attribute name consisting of a 
> reserved character eg:test$
> this throws exception.
> Now use to get call to get the previously created type
> Expected:
> The type should not be updated.
> Actual:
> "error": "Unknown datatype: className_update_vsvrbzqaqg",
> "stackTrace": "org.apache.atlas.typesystem.exception.TypeNotFoundException: 
> Unknown datatype: className_update_vsvrbzqaqg\n\tat 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ATLAS-512) Decouple currently integrating components from availability of Atlas service for raising metadata events

2016-03-01 Thread ATLAS QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15173436#comment-15173436
 ] 

ATLAS QA commented on ATLAS-512:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment
  http://issues.apache.org/jira/secure/attachment/12790661/ATLAS-512.patch
  against master revision 92574b5.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 7 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

+1 checkstyle.  The patch generated 0 code style errors.

{color:red}-1 findbugs{color}.  The patch appears to introduce 337 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in :
 
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.EntityJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.MetadataDiscoveryJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.RexsterGraphJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.AdminJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.TypesJerseyResourceIT

Test results: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningsnotification.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningscommon.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningsclient.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningstitan.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningsrepository.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningswebapp.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/41//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/41//console

This message is automatically generated.

> Decouple currently integrating components  from availability of Atlas service 
> for raising metadata events
> -
>
> Key: ATLAS-512
> URL: https://issues.apache.org/jira/browse/ATLAS-512
> Project: Atlas
>  Issue Type: Sub-task
>Reporter: Hemanth Yamijala
>Assignee: Hemanth Yamijala
> Attachments: ATLAS-512.patch
>
>
> The components that currently integrate with Atlas (Hive, Sqoop, Falcon, 
> Storm) all communicate their metadata events using Kafka as a messaging 
> layer. This effectively decouples these components from the Atlas server. 
> However, all of these components have some initialization that checks if 
> their respective models are registered with Atlas. For components that 
> integrate on the server, like HiveServer2 and Falcon, this initialization is 
> a one time check and hence, is manageable. Others like Sqoop, Storm and the 
> Hive CLI are client side components and hence the initialization happens for 
> every run or session of these components. Invoking the initialization (and 
> the one time check) every time like this effectively means that the Atlas 
> server should be always available.
> This JIRA is to try and remove this dependency and thus truly decouple these 
> components.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)