Return-Path: X-Original-To: apmail-sqoop-dev-archive@www.apache.org Delivered-To: apmail-sqoop-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62A3E17314 for ; Tue, 2 Jun 2015 19:11:58 +0000 (UTC) Received: (qmail 57788 invoked by uid 500); 2 Jun 2015 19:11:58 -0000 Delivered-To: apmail-sqoop-dev-archive@sqoop.apache.org Received: (qmail 57754 invoked by uid 500); 2 Jun 2015 19:11:58 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 57737 invoked by uid 99); 2 Jun 2015 19:11:58 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 19:11:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 90F80C08D9 for ; Tue, 2 Jun 2015 19:11:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id JMUlIdffbCnZ for ; Tue, 2 Jun 2015 19:11:49 +0000 (UTC) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 91F922054B for ; Tue, 2 Jun 2015 19:11:48 +0000 (UTC) Received: by iesa3 with SMTP id a3so140685147ies.2 for ; Tue, 02 Jun 2015 12:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SZ8U25L05X8agReCWe/ZRHv1VhYsYKhmHxWANU9+nPc=; b=n5l4bv/TA58ZbJMc4EDC+8uOy48Goijh1HYnl+NU3lG6Fc4V60hdbceDh3lq32iuBY KmUfpavIHYDeYJql8wEl+oyxvpuZKF2JwRMWNuaL2nFSmpxKwbdroLcvTT1D1bltbT6B zf9ZB7iTn33r86CNMPMb7j8zYh90eVUs0GJzklT15rlm2Oi+Uq9yNLZdA0U4so0ZkHkf zixp0/sriXEuWX0mw+WhiippsYqndvbIO1FCsA5Iau3+JTidCgYZ27jM7MpwDKr+SOUQ auP1G9nrgo1pFxKCuR50aqC+sWlVjdabt6Vv9V7AyzwcJsdI9zqlHfwxhU0gYoDwwlUY D1ww== MIME-Version: 1.0 X-Received: by 10.50.143.104 with SMTP id sd8mr9655436igb.14.1433272307591; Tue, 02 Jun 2015 12:11:47 -0700 (PDT) Received: by 10.107.172.198 with HTTP; Tue, 2 Jun 2015 12:11:47 -0700 (PDT) In-Reply-To: References: <7F91673573F5D241AFCE8EDD6A313D24604168@SHSMSX103.ccr.corp.intel.com> <7F91673573F5D241AFCE8EDD6A313D24604265@SHSMSX103.ccr.corp.intel.com> Date: Tue, 2 Jun 2015 12:11:47 -0700 Message-ID: Subject: Re: Sqoop2 job hung for long time From: SHANKAR REDDY To: "dev@sqoop.apache.org" Content-Type: multipart/alternative; boundary=001a1135f1a6c2b2fa05178db683 --001a1135f1a6c2b2fa05178db683 Content-Type: text/plain; charset=UTF-8 This seems like the clear problem with Yarn which is unable start even sample word count example as well. Kind Regards, Sankara Telukutla On Tue, Jun 2, 2015 at 11:13 AM, SHANKAR REDDY wrote: > Hi Richard, > Attached the logs from Yarn and Sqoop2. > > After recycle the cluster I see that new files are created. The logs > attached are fresh logs after server restart. > > Most of the places I see the below error from the logs. > > Caused by: java.lang.UnsupportedOperationException: Usage threshold is not > supported > > Please suggest. > > > Kind Regards, > Sankara Telukutla > > > On Tue, Jun 2, 2015 at 12:27 AM, Zhou, Richard > wrote: > >> Hey, it seems that resource manager cannot create container. >> For the log file in >> >> /var/log/hadoop-yarn >> /var/log/sqoop2 >> >> You cannot delete the log file manually. CDH will append log into the log >> file, but if there is no log file existing in the folder, CDH will not >> create a new log file. >> You will find error message in CM (cluster->yarn->resource manager->log >> file link in summary tab). >> You need to touch a new log file and change owner to yarn and change mode >> to 644. >> >> [root@server-654 richard]# ll >> /var/log/hadoop-yarn/hadoop-cmf-yarn2-RESOURCEMANAGER-server-654.novalocal.log.out >> -rw-r--r-- 1 yarn yarn 54243 Jun 2 14:42 >> /var/log/hadoop-yarn/hadoop-cmf-yarn2-RESOURCEMANAGER-server-654.novalocal.log.out >> >> >> Regards >> Richard >> >> >> -----Original Message----- >> From: SHANKAR REDDY [mailto:sankara.telukutla@gmail.com] >> Sent: Tuesday, June 02, 2015 12:51 PM >> To: dev@sqoop.apache.org >> Subject: Re: Sqoop2 job hung for long time >> >> Hi Richard, >> Please see below. >> >> sqoop:000> set option -name verbose -value true Verbose option was >> changed to true sqoop:000> sqoop:000> start job -jid 2 -s Submission >> details Job ID: 2 Server URL: http://localhost:12000/sqoop/ Created by: >> ubuntu Creation date: 2015-06-02 04:41:56 UTC Lastly updated by: ubuntu >> External ID: job_1433186285881_0007 >> >> >> http://ip-172-31-1-201.us-west-1.compute.internal:8088/proxy/application_1433186285881_0007/ >> Source Connector schema: Schema{name=clp_sandbox.HADOOP_TEST,columns=[ >> >> >> FixedPoint{name=SERIAL_NO,nullable=true,type=FIXED_POINT,byteSize=4,signed=true}, >> >> >> FixedPoint{name=EMPLOYEE_ID,nullable=true,type=FIXED_POINT,byteSize=4,signed=true}, >> Text{name=NAME,nullable=true,type=TEXT,charSize=null}]} >> 2015-06-02 04:41:56 UTC: BOOTING - Progress is not available >> 2015-06-02 04:42:07 UTC: BOOTING - 0.00 % >> 2015-06-02 04:42:17 UTC: BOOTING - 0.00 % >> 2015-06-02 04:42:27 UTC: BOOTING - 0.00 % >> 2015-06-02 04:42:37 UTC: BOOTING - 0.00 % >> 2015-06-02 04:42:47 UTC: BOOTING - 0.00 % >> 2015-06-02 04:42:57 UTC: BOOTING - 0.00 % >> 2015-06-02 04:43:07 UTC: BOOTING - 0.00 % >> 2015-06-02 04:43:17 UTC: BOOTING - 0.00 % >> 2015-06-02 04:43:27 UTC: BOOTING - 0.00 % >> 2015-06-02 04:43:37 UTC: BOOTING - 0.00 % >> 2015-06-02 04:43:47 UTC: BOOTING - 0.00 % >> 2015-06-02 04:43:57 UTC: BOOTING - 0.00 % >> 2015-06-02 04:44:07 UTC: BOOTING - 0.00 % >> 2015-06-02 04:44:17 UTC: BOOTING - 0.00 % >> 2015-06-02 04:44:27 UTC: BOOTING - 0.00 % >> >> >> .. >> I cleaned up the logs and before doing the above steps and found that no >> new logs are created at below location. >> >> /var/log/hadoop-yarn >> /var/log/sqoop2 >> >> >> Is there anything I can verify? >> >> Kind Regards, >> Sankara Telukutla >> >> >> On Mon, Jun 1, 2015 at 8:10 PM, Zhou, Richard >> wrote: >> >> > Hey, would you send out the log, including the Sqoop log and Yarn log. >> > It should be in /var/log/ if Cloudera 5.4.1 is installed. >> > And run command "set option -name verbose -value true" to set verbose, >> > then re-run the job with "start job -jid 2 -s" to show more information. >> > >> > >> > Regards >> > Richard >> > >> > -----Original Message----- >> > From: SHANKAR REDDY [mailto:sankara.telukutla@gmail.com] >> > Sent: Tuesday, June 02, 2015 9:16 AM >> > To: dev@sqoop.apache.org >> > Subject: Sqoop2 job hung for long time >> > >> > Team, >> > >> > I have a job which is from MySql to HDFS transformation using sqoop2. >> > The job I have started not responding for long time and seems like >> > there is a problem with YARN which couldn't able to pick up the same. >> > Could you please help me to rectify this problem? >> > >> > Version details: >> > SQOOP2 : 1.99.5 >> > Cloudera : 5.4.1 >> > >> > application_1433186285881_0004 >> > < >> > http://ec2-52-8-94-128.us-west-1.compute.amazonaws.com:8088/cluster/ap >> > p/application_1433186285881_0004 >> > > >> > sqoop2Sqoop: Test Job-copyMAPREDUCEroot.sqoop2Mon Jun 1 17:18:39 -0700 >> > 2015 >> > >> > N/AACCEPTEDUNDEFINED >> > UNASSIGNED >> > > > > >> > >> > >> > And the job information : >> > sqoop:000> show job -jid 2 >> > 1 job(s) to show: >> > Job with id 2 and name Test Job-copy (Enabled: true, Created by null >> > at >> > 5/21/15 8:45 AM, Updated by null at 6/2/15 12:18 AM) Using link id 1 >> > and Connector id 4 >> > From database configuration >> > Schema name: clp_sandbox >> > Table name: HADOOP_TEST >> > Table SQL statement: >> > Table column names: >> > Partition column name: EMPLOYEE_ID >> > Null value allowed for the partition column: true >> > Boundary query: >> > Throttling resources >> > Extractors: 2 >> > Loaders: 1 >> > ToJob configuration >> > Override null value: false >> > Null value: >> > Output format: SEQUENCE_FILE >> > Compression format: NONE >> > Custom compression format: >> > Output directory: /hadooptest >> > >> > >> > >> > Let me know if you need any information I can provide. >> > >> > >> > >> > -Shankar >> > >> > > --001a1135f1a6c2b2fa05178db683--