Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # user >> com.sun.jersey.api.client.UniformInterfaceException returned a response status of 404 Not Found


+
Yanting Chen 2013-09-11, 08:14
+
Mengwei Ding 2013-09-11, 16:36
+
Arvind Prabhakar 2013-09-11, 17:27
+
Yanting Chen 2013-09-12, 01:26
+
Yanting Chen 2013-09-12, 01:28
+
Mengwei Ding 2013-09-12, 02:51
+
Yanting Chen 2013-09-12, 04:07
+
Mengwei Ding 2013-09-12, 13:45
+
Yanting Chen 2013-09-12, 13:47
Copy link to this message
-
Re: com.sun.jersey.api.client.UniformInterfaceException returned a response status of 404 Not Found
Hi Yanting,

Are you sure that when you set the autoupgrade value to be true, this
exception JDBCREPO_0026:Upgrade required but not allowed - Connector:
generic-jdbc-connector still exists?

Mengwei
On Thu, Sep 12, 2013 at 9:47 AM, Yanting Chen <[EMAIL PROTECTED]>wrote:

> Hi Mengwei,
>
> Yes, there is an option named "org.apache.sqoop.connector.autoupgrade",
> and its original value is false.
>
> I change it to true, and restart the sqoop server. But, the result is the
> same.
>
>
>
> On Thu, Sep 12, 2013 at 9:45 PM, Mengwei Ding <[EMAIL PROTECTED]>wrote:
>
>> Hi Yanting,
>>
>> Could you go to your sqoop.properties file and check whether there is an
>> option named "org.apache.sqoop.connector.autoupgrade" ?
>>
>> Mengwei
>>
>>
>> On Thu, Sep 12, 2013 at 12:07 AM, Yanting Chen <[EMAIL PROTECTED]>wrote:
>>
>>> Hi Mengwei
>>>
>>> The followings are logs:
>>>
>>> *localhost-2013-09-12.log:*
>>> Sep 12, 2013 9:20:02 AM org.apache.catalina.core.StandardContext
>>> listenerStart
>>> SEVERE: Exception sending context initialized event to listener instance
>>> of class org.apache.sqoop.server.ServerInitializer
>>> java.lang.RuntimeException: Failure in server initialization
>>>         at
>>> org.apache.sqoop.core.SqoopServer.initialize(SqoopServer.java:57)
>>>         at
>>> org.apache.sqoop.server.ServerInitializer.contextInitialized(ServerInitializer.java:36)
>>>         at
>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
>>>         at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
>>>         at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>>>         at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>>>         at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>>>         at
>>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
>>>         at
>>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
>>>         at
>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
>>>         at
>>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
>>>          at
>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>>>         at
>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>>>          at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
>>>         at
>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>>>         at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>>>         at
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>>>         at
>>> org.apache.catalina.core.StandardService.start(StandardService.java:525)
>>>         at
>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>>>         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>         at java.lang.reflect.Method.invoke(Method.java:606)
>>>         at
>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>>>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>>> Caused by: org.apache.sqoop.common.SqoopException: CONN_0007:Connector
>>> registration failed
>>>         at
>>> org.apache.sqoop.connector.ConnectorManager.registerConnectors(ConnectorManager.java:234)
>>>         at
>>> org.apache.sqoop.connector.ConnectorManager.initialize(ConnectorManager.java:195)
>>>         at
>>> org.apache.sqoop.core.SqoopServer.initialize(SqoopServer.java:51)
>>>         ... 25 more
>>> Caused by: org.apache.sqoop.common.SqoopException: JDBCREPO_0026:Upgrade
+
Yanting Chen 2013-09-14, 01:37