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

Sanjay Patel edited comment on ATLAS-198 at 10/19/15 5:46 PM:
--------------------------------------------------------------

*For 0.5_ATLAS-198_v1.patch*

[~suma.shivaprasad] I have applied this patch to 
https://github.com/apache/incubator-atlas/tree/branch-0.5-incubating branch and 
tested following is the output:

*First command out after applying this patch to branch-0.5-incubating branch:*

[WARNING] checkstyle:check violations detected but failOnViolation set to false
[INFO]
[INFO] >>> findbugs-maven-plugin:2.5.2:check (findbugs-check) > :findbugs @ 
hive-bridge >>>
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ hive-bridge ---
[INFO] Fork Value is true
     [java] Warnings generated: 2
[INFO] Done FindBugs Analysis....
[INFO]
[INFO] <<< findbugs-maven-plugin:2.5.2:check (findbugs-check) < :findbugs @ 
hive-bridge <<<
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:check (findbugs-check) @ hive-bridge ---
[INFO] BugInstance size is 2
[INFO] Error size is 0
[INFO] Total bugs: 2
[INFO] Possible null pointer dereference of HiveHook$HiveEvent.queryPlan in 
org.apache.atlas.hive.hook.HiveHook.registerProcess(HiveMetaStoreBridge, 
HiveHook$HiveEvent) ["org.apache.atlas.hive.hook.HiveHook"] At 
HiveHook.java:[lines 70-353]
[INFO] Should org.apache.atlas.hive.hook.HiveHook$HiveEvent be a _static_ inner 
class? ["org.apache.atlas.hive.hook.HiveHook$HiveEvent"] At HiveHook.java:[line 
126]
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ hive-bridge 
---
[INFO] Installing 
/opt/atlas/0.5/incubator-atlas/addons/hive-bridge/target/hive-bridge-0.5-incubating.jar
 to 
/root/.m2/repository/org/apache/atlas/hive-bridge/0.5-incubating/hive-bridge-0.5-incubating.jar
[INFO] Installing /opt/atlas/0.5/incubator-atlas/addons/hive-bridge/pom.xml to 
/root/.m2/repository/org/apache/atlas/hive-bridge/0.5-incubating/hive-bridge-0.5-incubating.pom
[INFO] Installing 
/opt/atlas/0.5/incubator-atlas/addons/hive-bridge/target/hive-bridge-0.5-incubating-javadoc.jar
 to 
/root/.m2/repository/org/apache/atlas/hive-bridge/0.5-incubating/hive-bridge-0.5-incubating-javadoc.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] apache-atlas ....................................... SUCCESS [  8.828 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [01:27 min]
[INFO] Apache Atlas Client ................................ SUCCESS [ 33.660 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [01:57 min]
[INFO] Apache Atlas Web Application ....................... SUCCESS [01:31 min]
[INFO] Apache Atlas Documentation ......................... SUCCESS [01:44 min]
[INFO] Apache Atlas Hive Bridge ........................... SUCCESS [ 33.483 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:59 min
[INFO] Finished at: 2015-10-19T15:34:04-04:00
[INFO] Final Memory: 170M/785M
[INFO] ------------------------------------------------------------------------

*Second command output:*

[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeDefinition.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/EnumTypeDefinition.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/FieldMapping.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/ValueConversionException.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/ClassType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeUtils.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/package-info.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/TraitType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/DownCastFieldMapping.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/IDataType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/IConstructableType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeSystem.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/ObjectGraphWalker.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/DataTypes.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/HierarchicalType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/StructType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeInfo.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/AbstractDataType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/Multiplicity.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/builders/TypesBuilder.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/builders/InstanceBuilder.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/json/TypesSerialization.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/json/Serialization.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/TypesDef.scala
 longer than 100 characters.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] apache-atlas ....................................... SUCCESS [03:17 min]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [01:29 min]
[INFO] Apache Atlas Client ................................ SUCCESS [ 31.035 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [01:53 min]
[INFO] Apache Atlas Web Application ....................... SUCCESS [01:27 min]
[INFO] Apache Atlas Documentation ......................... SUCCESS [01:34 min]
[INFO] Apache Atlas Hive Bridge ........................... SUCCESS [ 28.158 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:53 min
[INFO] Finished at: 2015-10-19T15:45:57-04:00
[INFO] Final Memory: 173M/774M
[INFO] ------------------------------------------------------------------------



was (Author: sanjayp):
* For 0.5_ATLAS-198_v1.patch*

[~suma.shivaprasad] I have applied this patch to 
https://github.com/apache/incubator-atlas/tree/branch-0.5-incubating branch and 
tested following is the output:

*First command out after applying this patch to branch-0.5-incubating branch:*

[WARNING] checkstyle:check violations detected but failOnViolation set to false
[INFO]
[INFO] >>> findbugs-maven-plugin:2.5.2:check (findbugs-check) > :findbugs @ 
hive-bridge >>>
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ hive-bridge ---
[INFO] Fork Value is true
     [java] Warnings generated: 2
[INFO] Done FindBugs Analysis....
[INFO]
[INFO] <<< findbugs-maven-plugin:2.5.2:check (findbugs-check) < :findbugs @ 
hive-bridge <<<
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:check (findbugs-check) @ hive-bridge ---
[INFO] BugInstance size is 2
[INFO] Error size is 0
[INFO] Total bugs: 2
[INFO] Possible null pointer dereference of HiveHook$HiveEvent.queryPlan in 
org.apache.atlas.hive.hook.HiveHook.registerProcess(HiveMetaStoreBridge, 
HiveHook$HiveEvent) ["org.apache.atlas.hive.hook.HiveHook"] At 
HiveHook.java:[lines 70-353]
[INFO] Should org.apache.atlas.hive.hook.HiveHook$HiveEvent be a _static_ inner 
class? ["org.apache.atlas.hive.hook.HiveHook$HiveEvent"] At HiveHook.java:[line 
126]
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ hive-bridge 
---
[INFO] Installing 
/opt/atlas/0.5/incubator-atlas/addons/hive-bridge/target/hive-bridge-0.5-incubating.jar
 to 
/root/.m2/repository/org/apache/atlas/hive-bridge/0.5-incubating/hive-bridge-0.5-incubating.jar
[INFO] Installing /opt/atlas/0.5/incubator-atlas/addons/hive-bridge/pom.xml to 
/root/.m2/repository/org/apache/atlas/hive-bridge/0.5-incubating/hive-bridge-0.5-incubating.pom
[INFO] Installing 
/opt/atlas/0.5/incubator-atlas/addons/hive-bridge/target/hive-bridge-0.5-incubating-javadoc.jar
 to 
/root/.m2/repository/org/apache/atlas/hive-bridge/0.5-incubating/hive-bridge-0.5-incubating-javadoc.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] apache-atlas ....................................... SUCCESS [  8.828 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [01:27 min]
[INFO] Apache Atlas Client ................................ SUCCESS [ 33.660 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [01:57 min]
[INFO] Apache Atlas Web Application ....................... SUCCESS [01:31 min]
[INFO] Apache Atlas Documentation ......................... SUCCESS [01:44 min]
[INFO] Apache Atlas Hive Bridge ........................... SUCCESS [ 33.483 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:59 min
[INFO] Finished at: 2015-10-19T15:34:04-04:00
[INFO] Final Memory: 170M/785M
[INFO] ------------------------------------------------------------------------

*Second command output:*

[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeDefinition.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/EnumTypeDefinition.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/FieldMapping.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/ValueConversionException.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/ClassType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeUtils.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/package-info.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/TraitType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/DownCastFieldMapping.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/IDataType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/IConstructableType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeSystem.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/ObjectGraphWalker.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/DataTypes.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/HierarchicalType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/StructType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeInfo.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/AbstractDataType.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/java/org/apache/atlas/typesystem/types/Multiplicity.java
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/builders/TypesBuilder.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/builders/InstanceBuilder.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/json/TypesSerialization.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/json/Serialization.scala
 longer than 100 characters.
[WARNING] Entry: 
apache-atlas-sources-0.5-incubating/typesystem/src/main/scala/org/apache/atlas/typesystem/TypesDef.scala
 longer than 100 characters.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] apache-atlas ....................................... SUCCESS [03:17 min]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [01:29 min]
[INFO] Apache Atlas Client ................................ SUCCESS [ 31.035 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [01:53 min]
[INFO] Apache Atlas Web Application ....................... SUCCESS [01:27 min]
[INFO] Apache Atlas Documentation ......................... SUCCESS [01:34 min]
[INFO] Apache Atlas Hive Bridge ........................... SUCCESS [ 28.158 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:53 min
[INFO] Finished at: 2015-10-19T15:45:57-04:00
[INFO] Final Memory: 173M/774M
[INFO] ------------------------------------------------------------------------


> Atlas UI Requires Internet Access
> ---------------------------------
>
>                 Key: ATLAS-198
>                 URL: https://issues.apache.org/jira/browse/ATLAS-198
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.5-incubating, 0.6-incubating
>            Reporter: Erik Bergenholtz
>            Assignee: Sanjay Patel
>            Priority: Blocker
>             Fix For: 0.5.1-incubating, 0.6-incubating
>
>         Attachments: 0.5_ATLAS-198_v1.patch, 0.6_ATLAS-198_v1.patch, 
> 0.6_ATLAS-198_v2.patch
>
>
> PROBLEM: Web resources are being sourced from the internet for the Atlas web 
> application. Installations do not necessarily have internet access. This 
> results in a timeout for the requested resources. These resources need to be 
> moved into atlas.war so the resources can be served up by the Atlas web 
> application.
> The list needs to be verified, but includes at least:
> http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css 
> http://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js 
> The fix needs to bundle resources such that Atlas web-app can be utilized 
> without internet connectivity.
> The issue needs to be fixed in master and requires patch for 0.5



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

Reply via email to