Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A1DA200D3E for ; Thu, 16 Nov 2017 15:45:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 08F85160BE6; Thu, 16 Nov 2017 14:45:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4FD17160BE5 for ; Thu, 16 Nov 2017 15:45:08 +0100 (CET) Received: (qmail 92014 invoked by uid 500); 16 Nov 2017 14:45:07 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 92004 invoked by uid 99); 16 Nov 2017 14:45:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2017 14:45:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8B4941A0D0D for ; Thu, 16 Nov 2017 14:45:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id mwCR_3ZsW4LY for ; Thu, 16 Nov 2017 14:45:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9915D60E5E for ; Thu, 16 Nov 2017 14:45:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B7D07E0E34 for ; Thu, 16 Nov 2017 14:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 75CD5240CE for ; Thu, 16 Nov 2017 14:45:01 +0000 (UTC) Date: Thu, 16 Nov 2017 14:45:01 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-22444) Add Native Libraries To Tez Tarball MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Nov 2017 14:45:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-22444?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hurley updated AMBARI-22444: ------------------------------------- Attachment: AMBARI-22444-2.patch > Add Native Libraries To Tez Tarball > ----------------------------------- > > Key: AMBARI-22444 > URL: https://issues.apache.org/jira/browse/AMBARI-22444 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.6.1 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Blocker > Fix For: 2.6.1 > > Attachments: AMBARI-22444.patch > > > As part of the investigation for getting patch upgrades working in Ambari= 2.6.1, it was determined that the Tez tarball will need to have the hadoop= native libraries added to it so that they can be detected from the tarball= . > STR: > - Install ZK, MapR, Tez, Yarn, Hive > - Enable a non-LZO codec, like Snappy > - Patch Hive to a new version > - Change the following properties in {{tez-site}}: > -- tez.am.launch.env =3D LD_LIBRARY=3D./tezlib/lib/native > -- tez.task.launch.env =3D LD_LIBRARY=3D./tezlib/lib/native > When Hive commands run, they will attempt to load the native snappy libra= ries from the Tez tarball and will fail with: > {code} > Caused by: java.io.IOException: Unable to get CompressorType for codec (o= rg.apache.hadoop.io.compress.SnappyCodec). This is most likely due to missi= ng native libraries for the codec. > =09at org.apache.tez.runtime.library.common.sort.impl.ExternalSorter.(ExternalSorter.java:217) > {code} > In order to fix this, the Tez tarball should include the native hadoop li= braries as well: > {code} > =E2=94=9C=E2=94=80=E2=94=80 tez > =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 lib > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 n= ative > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhadoop.a > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhadoop.so -> libhadoop.so.1.0.0 > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhadoop.so.1.0.0 > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhadooppipes.a > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhadooputils.a > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhdfs.a > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhdfs.so -> libhdfs.so.0.0.0 > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libhdfs.so.0.0.0 > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libsnappy.so -> libsnappy.so.1.1.4 > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =9C=E2=94=80=E2=94=80 libsnappy.so.1 -> libsnappy.so.1.1.4 > =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94=82=C2=A0=C2=A0 =E2=94= =94=E2=94=80=E2=94=80 libsnappy.so.1.1.4 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)