From user-return-54778-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Thu Jan 11 08:05:54 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 0B014180656 for ; Thu, 11 Jan 2018 08:05:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EEB23160C20; Thu, 11 Jan 2018 07:05:53 +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 3B2A5160C1F for ; Thu, 11 Jan 2018 08:05:53 +0100 (CET) Received: (qmail 22628 invoked by uid 500); 11 Jan 2018 07:05:51 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 22616 invoked by uid 99); 11 Jan 2018 07:05:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2018 07:05:51 +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 0D13EC2F24 for ; Thu, 11 Jan 2018 07:05:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.148 X-Spam-Level: ** X-Spam-Status: No, score=2.148 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id M8Zx8qXcXlTg for ; Thu, 11 Jan 2018 07:05:48 +0000 (UTC) Received: from mail-yb0-f175.google.com (mail-yb0-f175.google.com [209.85.213.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C138C5F250 for ; Thu, 11 Jan 2018 07:05:47 +0000 (UTC) Received: by mail-yb0-f175.google.com with SMTP id b132so668008yba.5 for ; Wed, 10 Jan 2018 23:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=HhJO2VZTUs8jD/mfWtcwiu5PkIivIf+1Kp3U8GW1Fqw=; b=XHvhLujYpF5DADbYY0b54KDbv1uKdEaaZMmZ9ikLqbU585V/hVBL6JTiJ9CJ+MPUZT XRyqvP4TziCAhoCU2DR69vUcPuwjGJ1owN+uezS/h1bf0j4pvxqK6TBV3TD0IwkJW0aX mpRAuhZ94g4Za5qAP0AzuMXUpaDdYJquWH6GidIXcFeELzo5kLqko9aJasdp5b+s+Ptf X1CJwkkWeQX3B570UOccgXfwmBb788PtdEbM/s3Yr7TrLcxgoMS6yI5Tjb166Es5PizD EXsjz/jAv8ud/0mieznacpnm/Q3ZhNa9uni00QMMDhZVHKDZlkA8FaTSxch8o1YQuLp/ QzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=HhJO2VZTUs8jD/mfWtcwiu5PkIivIf+1Kp3U8GW1Fqw=; b=uLLm/M+/x29/Op9iRkT2rF2N2bwU08x2ZcHDqnpZNsmfa7NmvqDss4fANWUdiOPutQ FZbIHW8N+GTyCfUsBlROcnEamLZzzfGN7dy9CzPhsg1iTmUxUV8gYmB+yhRt4pNzk7U5 AVU977sfFq24oS+uS/mybtEOAwxx8FrhGJAsd/PJBChwuJm0rJN3iPQwbz0f0YJFq+cs ClM1k71c+3viYKdai3FU6HWYgq9XHA23af5sy9M+V7a/A9Xjtuw1e2q3mzjfNBVaJzIY TEvX/sUq804KiEI8GAVLCGCjqYPsSBWxb+QvsoVeb99STTa8n3Qnzazf42i78OpG9YGA f1DQ== X-Gm-Message-State: AKwxytfz8xyeNbIiU0bMhSI4pfLrMH3NQ2KhpawPQS+yppcpS8Xg91k8 TWJJMXpuUp5AUhONHcDN+V4ior0Lei7DOkiEKlTJwQ== X-Google-Smtp-Source: ACJfBovG3ZX+zTK3UR+DGk32OxiyCDnnRpJ9s14KVwWBsSX/yGcdG5Q7oPAbZDlop8ZzW3TYH8clmg0jlZ2vw0xRj84= X-Received: by 10.37.51.136 with SMTP id z130mr1468797ybz.268.1515654346199; Wed, 10 Jan 2018 23:05:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.37.134 with HTTP; Wed, 10 Jan 2018 23:05:45 -0800 (PST) In-Reply-To: References: From: Ankit Singhal Date: Thu, 11 Jan 2018 12:35:45 +0530 Message-ID: Subject: Re: CompleteBulkLoad Error To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="001a1148a112e8557a05627ac652" --001a1148a112e8557a05627ac652 Content-Type: text/plain; charset="UTF-8" In HBase 1.2.6 , package of LoadIncrementalHFiles was org.apache.hadoop.hbase.mapreduce. so try, $ hbase org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles it is changed to org.apache.hadoop.hbase.tool in HBase-2.0 On Thu, Jan 11, 2018 at 12:19 PM, Yung-An He wrote: > Hi, > > I import data from files to HBase table via the ImportTsv command as below: > > hbase org.apache.hadoop.hbase.mapreduce.ImportTsv > -Dimporttsv.columns=HBASE_ROW_KEY,cf:c1,cf:c2-Dimporttsv. > skip.bad.lines=false > '-Dimporttsv.separator=,' > -Dimporttsv.bulk.output=hdfs://hbase-master:9000/tmp/bktableoutput bktable > hdfs://hbase-master:9000/tmp/importsv > > and the MR job runs successfully. When I execute the completebulkload > command as below: > > hbase org.apache.hadoop.hbase.tool.LoadIncrementalHFiles > hdfs://hbase-master:9000/tmp/bktableoutput bktable > > and it throws the exception: > Error: Could not find or load main class > org.apache.hadoop.hbase.tool.LoadIncrementalHFiles > > I try the other command: > HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath` > ${HADOOP_HOME}/bin/hadoop jar ${HBASE_HOME}/lib/hbase-server-1.2.6.jar > completebulkload hdfs://hbase-master:9000/tmp/bktableoutput bktable > > and it succeeds. > > Does anyone have the idea? > > > Here is the information of HBase cluster : > > * HBase version 1.2.6 > * Hadoop version 2.7.5 > * With 5 work nodes. > --001a1148a112e8557a05627ac652--