conf.HiveConf: HiveConf of name hive.server2.enable.impersonation does not exist Logging initialized using configuration in jar:file:/usr/hdp/2.4.2.0-258/hive/lib/hive-common-1.2.1000.2.4.2.0-258.jar!/hive-log4j.properties NoViableAltException(307@[])

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sqoop create-hive-table SQL Server NON-DEFAULT schema

    Stack Overflow | 8 months ago | Kaliyug Antagonist
    conf.HiveConf: HiveConf of name hive.server2.enable.impersonation does not exist Logging initialized using configuration in jar:file:/usr/hdp/2.4.2.0-258/hive/lib/hive-common-1.2.1000.2.4.2.0-258.jar!/hive-log4j.properties NoViableAltException(307@[])

    Root Cause Analysis

    1. conf.HiveConf

      HiveConf of name hive.server2.enable.impersonation does not exist Logging initialized using configuration in jar:file:/usr/hdp/2.4.2.0-258/hive/lib/hive-common-1.2.1000.2.4.2.0-258.jar!/hive-log4j.properties NoViableAltException(307@[])

      at org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier()
    2. Hive Query Language
      Driver.run
      1. org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier(HiveParser_IdentifiersParser.java:11578)
      2. org.apache.hadoop.hive.ql.parse.HiveParser.identifier(HiveParser.java:45881)
      3. org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType(HiveParser.java:38052)
      4. org.apache.hadoop.hive.ql.parse.HiveParser.columnNameTypeList(HiveParser.java:36183)
      5. org.apache.hadoop.hive.ql.parse.HiveParser.createTableStatement(HiveParser.java:5222)
      6. org.apache.hadoop.hive.ql.parse.HiveParser.ddlStatement(HiveParser.java:2648)
      7. org.apache.hadoop.hive.ql.parse.HiveParser.execStatement(HiveParser.java:1658)
      8. org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:1117)
      9. org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:202)
      10. org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:166)
      11. org.apache.hadoop.hive.ql.Driver.compile(Driver.java:431)
      12. org.apache.hadoop.hive.ql.Driver.compile(Driver.java:316)
      13. org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1189)
      14. org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1237)
      15. org.apache.hadoop.hive.ql.Driver.run(Driver.java:1126)
      16. org.apache.hadoop.hive.ql.Driver.run(Driver.java:1116)
      16 frames
    3. org.apache.hadoop
      CliDriver.main
      1. org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:216)
      2. org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:168)
      3. org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:379)
      4. org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:314)
      5. org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:412)
      6. org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:428)
      7. org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:717)
      8. org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:684)
      9. org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624)
      9 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. org.apache.sqoop
      Sqoop.run
      1. org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:338)
      2. org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:245)
      3. org.apache.sqoop.tool.CreateHiveTableTool.run(CreateHiveTableTool.java:58)
      4. org.apache.sqoop.Sqoop.run(Sqoop.java:148)
      4 frames
    6. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      1 frame
    7. org.apache.sqoop
      Sqoop.main
      1. org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
      2. org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
      3. org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
      4. org.apache.sqoop.Sqoop.main(Sqoop.java:244)
      4 frames