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

David Radley commented on ATLAS-2089:
-------------------------------------

[~sarath.ku...@gmail.com] I have cloned the latest master code, it builds 
successfully with "mvn clean package -Pdist,berkeley-elasticsearch". Atlas says 
it starts successfully, but the server it not usable. I see an error file with 
relating to Jetty: 

Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/eclipse/jetty/util/thread/ThreadPool : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)


        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at org.apache.atlas.Atlas.main(Atlas.java:130)
  
Application.log shows : 
2017-10-02 17:57:55,983 INFO  - [main:] ~ >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
(Atlas:216)
2017-10-02 17:57:55,985 INFO  - [main:] ~ Server starting with TLS ? false on 
port 21000 (Atlas:217)
2017-10-02 17:57:55,985 INFO  - [main:] ~ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
(Atlas:218)
2017-10-02 17:57:55,990 INFO  - [Thread-0:] ~ ==> Shutdown of Atlas (Atlas$1:63)
2017-10-02 17:57:55,991 ERROR - [Thread-0:] ~ Failed to shutdown (Atlas$1:67)
java.lang.NullPointerException
        at org.apache.atlas.Atlas.shutdown(Atlas.java:76)
        at org.apache.atlas.Atlas.access$100(Atlas.java:45)
        at org.apache.atlas.Atlas$1.run(Atlas.java:65)
        at 
org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
2017-10-02 17:57:55,992 INFO  - [Thread-0:] ~ <== Shutdown of Atlas (Atlas$1:69)

I am building with Java 1.7 - which was working.

> Upgrade Jetty version for Atlas
> -------------------------------
>
>                 Key: ATLAS-2089
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2089
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-webui
>    Affects Versions: 1.0.0, 0.8.2
>            Reporter: Nixon Rodrigues
>            Assignee: Nixon Rodrigues
>             Fix For: 1.0.0, 0.8.2
>
>         Attachments: ATLAS-2089.patch, jetty-upgrade.patch
>
>
> Jetty version in Atlas pom.xml is ‘9.2.12.v20150709’, which is about 2 years 
> old (released date 2015-07-09). Most recent one in maven central is 
> ‘9.4.6.v20170531’. We should try this version.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to