You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/07/13 19:34:20 UTC

[jira] [Commented] (AMBARI-17691) Rerunning View data migration commands throwing exception

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

Hadoop QA commented on AMBARI-17691:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12817727/AMBARI-17691_branch-2.4.patch
  against trunk revision .

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

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

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

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7818//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7818//console

This message is automatically generated.

> Rerunning View data migration commands throwing exception
> ---------------------------------------------------------
>
>                 Key: AMBARI-17691
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17691
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: Gaurav Nagar
>            Assignee: Gaurav Nagar
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17691_branch-2.4.patch
>
>
> Error in Ambari log
> {code}
> 5 Jun 2016 07:48:45,035 ERROR [ambari-client-thread-2050] ContainerResponse:419 - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
> java.lang.NullPointerException
> 	at javax.persistence.spi.PersistenceProviderResolverHolder$DefaultPersistenceProviderResolver.getProviderNames(PersistenceProviderResolverHolder.java:197)
> 	at javax.persistence.spi.PersistenceProviderResolverHolder$DefaultPersistenceProviderResolver.getPersistenceProviders(PersistenceProviderResolverHolder.java:112)
> 	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:76)
> 	at org.apache.ambari.server.view.persistence.DataStoreModule.getEntityManagerFactory(DataStoreModule.java:116)
> 	at org.apache.ambari.server.view.persistence.DataStoreModule.<init>(DataStoreModule.java:79)
> 	at org.apache.ambari.server.view.ViewDataMigrationContextImpl.getDataStore(ViewDataMigrationContextImpl.java:92)
> 	at org.apache.ambari.server.view.ViewDataMigrationContextImpl.getOriginDataStore(ViewDataMigrationContextImpl.java:109)
> 	at org.apache.ambari.server.view.ViewDataMigrationContextImpl.copyAllObjects(ViewDataMigrationContextImpl.java:144)
> 	at org.apache.ambari.server.view.ViewDataMigrationContextImpl.copyAllObjects(ViewDataMigrationContextImpl.java:131)
> 	at org.apache.ambari.server.view.ViewDataMigrationUtility$CopyAllDataMigrator.migrateEntity(ViewDataMigrationUtility.java:220)
> 	at org.apache.ambari.server.view.ViewDataMigrationUtility.migrateData(ViewDataMigrationUtility.java:102)
> 	at org.apache.ambari.server.api.services.ViewDataMigrationService.migrateData(ViewDataMigrationService.java:106)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	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)
> 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
> {code}



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