Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21829

Sqoop: hive import fails with exception 'java.io.IOException:java.lang.RuntimeException: native-lzo library not available' for LZO compression codec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None

    Description

      Sqoop: hive import fails with exception
      'java.io.IOException:java.lang.RuntimeException: native-lzo library not
      available' for LZO compression codec

      [hrt_qa@nat-r6-ddfu-sqoop-5 hadoopqe]$ /usr/hdp/current/hive-client/bin/hive -e "select data from mytable_compress where id=12;"
      2017-08-25 13:44:40,090 WARN [main] conf.HiveConf: HiveConf of name hive.optimize.mapjoin.mapreduce does not exist
      2017-08-25 13:44:40,091 WARN [main] conf.HiveConf: HiveConf of name hive.custom-extensions.root does not exist

      Logging initialized using configuration in file:/etc/hive/2.6.2.0-200/0/hive-log4j.properties
      OK
      Failed with exception java.io.IOException:java.lang.RuntimeException: native-lzo library not available
      Time taken: 6.933 seconds

      Attachments

        1. AMBARI-21829.patch
          2 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: