Nitiraj Singh Rathore created AMBARI-15335:
----------------------------------------------

             Summary: Hive View : Upload table not handling detached cluster 
properly
                 Key: AMBARI-15335
                 URL: https://issues.apache.org/jira/browse/AMBARI-15335
             Project: Ambari
          Issue Type: Bug
          Components: ambari-views
    Affects Versions: 2.2.0
         Environment: Hive View is configured to detached cluster.

            Reporter: Nitiraj Singh Rathore
            Assignee: Nitiraj Singh Rathore
             Fix For: 2.3.0


Upload of table fails and gives below server side error
08 Mar 2016 08:46:14,942 ERROR qtp-ambari-client-60 
ServiceFormattedException:100 - 
org.apache.ambari.view.utils.ambari.NoClusterAssociatedException: RA050 View is 
not associated with any cluster. No way to request Ambari.

org.apache.ambari.view.utils.ambari.NoClusterAssociatedException: RA050 View is 
not associated with any cluster. No way to request Ambari.
at org.apache.ambari.view.utils.ambari.AmbariApi.getCluster(AmbariApi.java:245)
at 
org.apache.ambari.view.hive.resources.uploads.UploadService.getHiveMetaStoreLocation(UploadService.java:333)
at 
org.apache.ambari.view.hive.resources.uploads.UploadService.uploadIntoTable(UploadService.java:264)
at 
org.apache.ambari.view.hive.resources.uploads.UploadService.uploadFileFromStream(UploadService.java:398)
at 
org.apache.ambari.view.hive.resources.uploads.UploadService.uploadFile(UploadService.java:212)
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:497)
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)




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

Reply via email to