[
https://issues.apache.org/jira/browse/AMBARI-15335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15204431#comment-15204431
]
Hudson commented on AMBARI-15335:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4520 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4520/])
AMBARI-15335 : adding hive metastore location property for the detached
(dipayan.bhowmick:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b52073ad9dc1a612cdf2e64190ef5b0626c84728])
*
contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/uploads/UploadService.java
* contrib/views/hive/src/main/resources/view.xml
*
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ambari/AmbariApi.java
> 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
>
> Attachments: AMBARI-15335_branch-2.2.patch
>
>
> 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)