Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> hive giving issue with the errors


+
Hsuan-Yi Chu 2013-04-10, 02:20
Copy link to this message
-
Re: hive giving issue with the errors
can you tell more about what you were trying to do? where the error came?
are the hadoop-core versions match on both hadoop cluster and hive
machines?
On Wed, Apr 10, 2013 at 7:50 AM, Hsuan-Yi Chu <[EMAIL PROTECTED]> wrote:

> Hi,
> My hadoop version is 0.20.203.0. And I also use Hive.
>
> The following is the exception I got.
>
> Exception in thread "main" java.lang.NoSuchFieldError:
> ALLOW_UNQUOTED_CONTROL_CHARS
>         at
> org.apache.hadoop.hive.ql.udf.generic.GenericUDTFJSONTuple.<clinit>(GenericUDTFJSONTuple.java:59)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:113)
>         at
> org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerGenericUDTF(FunctionRegistry.java:545)
>         at
> org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerGenericUDTF(FunctionRegistry.java:539)
>         at
> org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(FunctionRegistry.java:472)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:202)
>         at
> org.apache.hadoop.hive.cli.CliSessionState.<init>(CliSessionState.java:86)
>         at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:635)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:613)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
>
>
> I was told that the problem came from different versions used by Hadoop
> and Hive.
>
> So how can I resolve it. Thanks.
>
> Hsuan-Yi
--
Nitin Pawar
+
Hsuan-Yi Chu 2013-04-10, 07:22
+
Nitin Pawar 2013-04-10, 07:31
+
Hsuan-Yi Chu 2013-04-10, 07:40
+
Nitin Pawar 2013-04-10, 07:57
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB