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

Hudson commented on AMBARI-23192:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #652 (See 
[https://builds.apache.org/job/Ambari-branch-2.6/652/])
AMBARI-23192. NoClassDefFoundError on Files View on S3 (amagyar) (m.magyar3: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=fd97fe0234bef6dc055873f9acdd344cfbc96d9c])
* (edit) ambari-project/pom.xml


> NoClassDefFoundError on Files View on S3
> ----------------------------------------
>
>                 Key: AMBARI-23192
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23192
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server, ambari-views
>    Affects Versions: 2.6.2
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.6.2
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> {code:java}
> 06 Mar 2018 08:52:07,987 ERROR [ambari-client-thread-6083] 
> ContainerResponse:423 - The exception contained within 
> MappableContainerException could not be mapped to a response, re-throwing to 
> the HTTP container
> java.lang.NoClassDefFoundError: Could not initialize class 
> com.amazonaws.ClientConfiguration
>       at 
> org.apache.hadoop.fs.s3a.S3ClientFactory$DefaultS3ClientFactory.createS3Client(S3ClientFactory.java:75)
>       at 
> org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:205)
>       at 
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2795)
>       at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99)
>       at 
> org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2829)
>       at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2811)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:390)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:179)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:77)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:75)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:422)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi.execute(HdfsApi.java:513)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi.execute(HdfsApi.java:489)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi.<init>(HdfsApi.java:75)
>       at 
> org.apache.ambari.view.utils.hdfs.HdfsUtil.getHdfsApi(HdfsUtil.java:157)
>       at 
> org.apache.ambari.view.utils.hdfs.HdfsUtil.connectToHDFSApi(HdfsUtil.java:129)
>       at 
> org.apache.ambari.view.commons.hdfs.HdfsService.getApi(HdfsService.java:98)
>       at 
> org.apache.ambari.view.commons.hdfs.FileOperationService.listdir(FileOperationService.java:100)
>       at sun.reflect.GeneratedMethodAccessor443.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>       at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205){code}
>  
> This is caused by an incorrect version from jackson-core.
> In /var/lib/ambari-server/resources/views/work/FILES\{1.0.0}/WEB-INF/lib/ 
> there is jackson-core-2.2.3.jar (instead of 2.9.4).
> In 2.2.3 there was no requiresPropertyOrdering() method in 
> com.fasterxml.jackson.core.JsonFactory.
> jackson-core, jackson-databind and jackson-annotations should all have the 
> same version (2.9.4).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to