java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient;

SpringSource Issue Tracker | Yifeng Xiao | 4 years ago
  1. 0

    serengeti>pig script --location E:\M2\SpringHadoop\data.pig Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.pig. PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; at org.springframework.data.hadoop.impala.pig.PigCommands.script(PigComm ands.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source) serengeti>hive script --location E:\M2\SpringHadoop\data.hive Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.hive .HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/service/HiveClient; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient; at org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveC ommands.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source)

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient;
  2. 0

    serengeti>pig script --location E:\M2\SpringHadoop\data.pig Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.pig. PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; at org.springframework.data.hadoop.impala.pig.PigCommands.script(PigComm ands.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source) serengeti>hive script --location E:\M2\SpringHadoop\data.hive Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.hive .HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/service/HiveClient; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient; at org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveC ommands.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source)

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient;
  3. 0

    serengeti>pig script --location E:\M2\SpringHadoop\data.pig Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.pig. PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; at org.springframework.data.hadoop.impala.pig.PigCommands.script(PigComm ands.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source) serengeti>hive script --location E:\M2\SpringHadoop\data.hive Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.hive .HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/service/HiveClient; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient; at org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveC ommands.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source)

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    serengeti>pig script --location E:\M2\SpringHadoop\data.pig Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.pig. PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; at org.springframework.data.hadoop.impala.pig.PigCommands.script(PigComm ands.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source) serengeti>hive script --location E:\M2\SpringHadoop\data.hive Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.hive .HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/service/HiveClient; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient; at org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveC ommands.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source)

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer;
  6. 0

    Hive action in Oozie failing intermittently - CDH 5.1 - Oozie 4.0.0

    Stack Overflow | 2 years ago | Raja
    java.lang.NoSuchMethodError: org.apache.hadoop.hive.serde2.typeinfo.TypeInfoFactory.getPrimitiveTypeInfo(Ljava/lang/String;)Lorg/apache/hadoop/hive/serde2/typeinfo/TypeInfo;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient;

      at org.springframework.data.hadoop.impala.hive.HiveCommands.script()
    2. org.springframework.data
      HiveCommands.script
      1. org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveCommands.java:124)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. org.springframework.shell
      JLineShell.run
      1. org.springframework.shell.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
      2. org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleExecutionStrategy.java:64)
      3. org.springframework.shell.core.SimpleExecutionStrategy.execute(SimpleExecutionStrategy.java:57)
      4. org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:223)
      5. org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:480)
      6. org.springframework.shell.core.JLineShell.run(JLineShell.java:158)
      6 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame