Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 031E810BE3 for ; Fri, 4 Dec 2015 11:05:51 +0000 (UTC) Received: (qmail 49040 invoked by uid 500); 4 Dec 2015 11:05:49 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 48962 invoked by uid 500); 4 Dec 2015 11:05:49 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 48952 invoked by uid 99); 4 Dec 2015 11:05:49 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 11:05:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7534EC808A for ; Fri, 4 Dec 2015 11:05:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.101 X-Spam-Level: **** X-Spam-Status: No, score=4.101 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_COUK=1.1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Ai_AXv3zT5Ux for ; Fri, 4 Dec 2015 11:05:33 +0000 (UTC) Received: from sulu.netzoomi.net (sulu.netzoomi.net [83.138.144.103]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 083272156B for ; Fri, 4 Dec 2015 11:05:32 +0000 (UTC) Received: from vulcan.netzoomi.net (unknown [212.100.249.54]) by sulu.netzoomi.net (Postfix) with ESMTP id B42EE6A4470 for ; Fri, 4 Dec 2015 11:05:31 +0000 (GMT) X-Envelope-From: Received: from w7 (cpc86449-seve24-2-0-cust177.13-3.cable.virginm.net [86.19.59.178]) by vulcan.netzoomi.net (Postfix) with ESMTPA id 896841248307 for ; Fri, 4 Dec 2015 11:05:31 +0000 (GMT) From: "Mich Talebzadeh" To: References: <099801d12e80$6de2d990$49a88cb0$@peridale.co.uk> In-Reply-To: <099801d12e80$6de2d990$49a88cb0$@peridale.co.uk> Subject: FW: Getting error when trying to start master node after building spark 1.3 Date: Fri, 4 Dec 2015 11:05:39 -0000 Message-ID: <09ac01d12e83$b5e9ffe0$21bdffa0$@peridale.co.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_09AD_01D12E83.B5EB8680" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHFTFEsA5PzLzq+uYLnYyX8WL8QDJ7SbjWw Content-Language: en-gb This is a multipart message in MIME format. ------=_NextPart_000_09AD_01D12E83.B5EB8680 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I sent this one to Spark user group but no response Hi, I am trying to make Hive work with Spark. I have been told that I need to use Spark 1.3 and build it from source code WITHOUT HIVE libraries. I have built it as follows: ./make-distribution.sh --name "hadoop2-without-hive" --tgz "-Pyarn,hadoop-provided,hadoop-2.4,parquet-provided" Now the issue I have that I cannot start master node which I think I need it to make it work with Hive on Spark! When I try hduser@rhes564::/usr/lib/spark-1.3.0-bin-hadoop2-without-hive/sbin > ./start-master.sh starting org.apache.spark.deploy.master.Master, logging to /usr/lib/spark-1.3.0-bin-hadoop2-without-hive/sbin/../logs/spark-hduser-org. apache.spark.deploy.master.Master-1-rhes564.out failed to launch org.apache.spark.deploy.master.Master: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more full log in /usr/lib/spark-1.3.0-bin-hadoop2-without-hive/sbin/../logs/spark-hduser-org. apache.spark.deploy.master.Master-1-rhes564.out I get Spark Command: /usr/java/latest/bin/java -cp :/usr/lib/spark-1.3.0-bin-hadoop2-without-hive/sbin/../conf:/usr/lib/spark-1 .3.0-bin-hadoop2-without-hive/lib/spark-assembly-1.3.0-hadoop2.4.0.jar:/home /hduser/hadoop-2.6.0/etc/hadoop -XX:MaxPermSize=128m -Dspark.akka.logLifecycleEvents=true -Xms512m -Xmx512m org.apache.spark.deploy.master.Master --ip 50.140.197.217 --port 7077 --webui-port 8080 ======================================== Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/Logger at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2521) at java.lang.Class.getMethod0(Class.java:2764) at java.lang.Class.getMethod(Class.java:1653) at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486) Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more Any advice will be appreciated. Thanks, Mich NOTE: The information in this email is proprietary and confidential. This message is for the designated recipient only, if you are not the intended recipient, you should destroy it immediately. Any information in this message shall not be understood as given or endorsed by Peridale Technology Ltd, its subsidiaries or their employees, unless expressly so stated. It is the responsibility of the recipient to ensure that this email is virus free, therefore neither Peridale Ltd, its subsidiaries nor their employees accept any responsibility. ------=_NextPart_000_09AD_01D12E83.B5EB8680 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I sent = this one to Spark user group but no response

 

 

Hi,

 

 

I am = trying to make Hive work with Spark.

 

I have = been told that I need to use Spark 1.3 and build it from source code = WITHOUT HIVE libraries.

 

I have = built it as follows:

 

./make-distribution.sh --name = "hadoop2-without-hive" --tgz = "-Pyarn,hadoop-provided,hadoop-2.4,parquet-provided"=

 

 

Now the = issue I have that I cannot start master node which I think I need it to = make it work with Hive on Spark!

 

When I = try

 

hduser@rhes564::/usr/lib/spark-1.3.0-bin-hadoop2-without-hive/s= bin> ./start-master.sh

starting org.apache.spark.deploy.master.Master, logging = to = /usr/lib/spark-1.3.0-bin-hadoop2-without-hive/sbin/../logs/spark-hduser-o= rg.apache.spark.deploy.master.Master-1-rhes564.out

<= p class=3DMsoNormal>failed to launch = org.apache.spark.deploy.master.Master:

        at = java.lang.ClassLoader.loadClass(ClassLoader.java:357)

        ... 6 = more

full log in = /usr/lib/spark-1.3.0-bin-hadoop2-without-hive/sbin/../logs/spark-hduser-o= rg.apache.spark.deploy.master.Master-1-rhes564.out

<= p class=3DMsoNormal> 

I = get

 

Spark Command: = /usr/java/latest/bin/java -cp = :/usr/lib/spark-1.3.0-bin-hadoop2-without-hive/sbin/../conf:/usr/lib/spar= k-1.3.0-bin-hadoop2-without-hive/lib/spark-assembly-1.3.0-hadoop2.4.0.jar= :/home/hduser/hadoop-2.6.0/etc/hadoop -XX:MaxPermSize=3D128m = -Dspark.akka.logLifecycleEvents=3Dtrue -Xms512m -Xmx512m = org.apache.spark.deploy.master.Master --ip 50.140.197.217 --port 7077 = --webui-port 8080

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

Exception in thread = "main" java.lang.NoClassDefFoundError: = org/slf4j/Logger

        at = java.lang.Class.getDeclaredMethods0(Native = Method)

        at = java.lang.Class.privateGetDeclaredMethods(Class.java:2521)

        at = java.lang.Class.getMethod0(Class.java:2764)

        at = java.lang.Class.getMethod(Class.java:1653)

        at = sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)

        at = sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)

Caused by: = java.lang.ClassNotFoundException: = org.slf4j.Logger

        at = java.net.URLClassLoader$1.run(URLClassLoader.java:366)<= /p>

        at = java.net.URLClassLoader$1.run(URLClassLoader.java:355)<= /p>

        at = java.security.AccessController.doPrivileged(Native = Method)

        at = java.net.URLClassLoader.findClass(URLClassLoader.java:354)

        at = java.lang.ClassLoader.loadClass(ClassLoader.java:424)

        at = sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)<= /span>

        at = java.lang.ClassLoader.loadClass(ClassLoader.java:357)

        ... 6 = more

 

Any = advice will be appreciated.

=  

Thank= s,

=  

Mich<= o:p>

=  

 

NOTE: The information in this email is = proprietary and confidential. This message is for the designated = recipient only, if you are not the intended recipient, you should = destroy it immediately. Any information in this message shall not be = understood as given or endorsed by Peridale Technology Ltd, its = subsidiaries or their employees, unless expressly so stated. It is the = responsibility of the recipient to ensure that this email is virus free, = therefore neither Peridale Ltd, its subsidiaries nor their employees = accept any responsibility.

 

------=_NextPart_000_09AD_01D12E83.B5EB8680--