Return-Path: X-Original-To: apmail-kylin-dev-archive@minotaur.apache.org Delivered-To: apmail-kylin-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 279F0183E4 for ; Fri, 8 May 2015 08:04:46 +0000 (UTC) Received: (qmail 71409 invoked by uid 500); 8 May 2015 08:04:46 -0000 Delivered-To: apmail-kylin-dev-archive@kylin.apache.org Received: (qmail 71358 invoked by uid 500); 8 May 2015 08:04:46 -0000 Mailing-List: contact dev-help@kylin.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.incubator.apache.org Delivered-To: mailing list dev@kylin.incubator.apache.org Received: (qmail 71345 invoked by uid 99); 8 May 2015 08:04:45 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 08:04:45 +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 4458E1A23EE for ; Fri, 8 May 2015 08:04:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.19 X-Spam-Level: *** X-Spam-Status: No, score=3.19 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_FONT_FACE_BAD=0.289, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rocketmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 5LeSUftFiNH3 for ; Fri, 8 May 2015 08:04:31 +0000 (UTC) Received: from nm17.bullet.mail.sg3.yahoo.com (nm17.bullet.mail.sg3.yahoo.com [106.10.148.68]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id C740042989 for ; Fri, 8 May 2015 08:04:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1431072260; bh=yzIJD/baEpqK+SE4058M69TjJoH3Gw52TMxyNmBcSg4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=QktQeMdnmazvyLC1/3G2mqKwa1J6Waw3reCfQU88jd0tk5+KBpsuzGZbGjv1y89vksWqj44UXXY6i1+FGDwkwexAQdzIq+WBYgJxLSDb5+MW0PiWo4fBb8/wW6RjcsuT4Vbp8v5UPn0/P/nUCRRiM3L2xA61pS2GHuS308ILsM3N74LlidJJ1zsapnOt+vlSa42FcHUFlQp9wG3yxVC6rYdL1daQeQuIr9Jmjx02tQBPjXDYhQWa62LhSKn0mr6+jGa/YLhMkjX5nOGg4TLYn9Mmf9hjt1tEpoOTsF68cWnl54BvtkTs2FLf5wL1Mz14XUDfWXMl+IoKB3+blb1vYw== Received: from [106.10.166.124] by nm17.bullet.mail.sg3.yahoo.com with NNFMP; 08 May 2015 08:04:20 -0000 Received: from [106.10.151.154] by tm13.bullet.mail.sg3.yahoo.com with NNFMP; 08 May 2015 08:04:20 -0000 Received: from [127.0.0.1] by omp1008.mail.sg3.yahoo.com with NNFMP; 08 May 2015 08:04:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 574960.52298.bm@omp1008.mail.sg3.yahoo.com X-YMail-OSG: StvMZ4AVM1mS6.JmZ5m0KZ8JK1yULx5kX8MBpaQs7mfUemy.CyrJiE.cqH9cBuC ee0LHLJ8Gh1pjhWu.76BTypRbY6H50Ra0UPstjje3.7wJgUkmgma1.1m516wQA._emKQOvd2KUu1 dYmSSTrQIrFqpRcXUTX4sk1Bqw7aMNKBQYAIJg09DyW6ATFJm54hb9qbx7o.j68qSTNVNbnt4fjz GWcssK0VQ_4Puc__ATSt7GYW_ce0nmKmh_Cmdfu5hDLphnMWuzs7SeHkYzooSezpkoAGDw7sWLFT vo_zXECMjXzoHq.qgLa10Im8wVAo1OY2uZICxair0VE2UGYFpkIvUzM9bF4a2XbrXsHdKYtOKhMK lZ4xL90212PdB9VPpMbSkRX2erA5mtI.R2_PX8tWk8C6Q0Bi.1YItXE15T30FTWIPIPog2w4mEdv iOGPjX8YOBsoRckTHem.Rhxd4SMmIZ5D6IKq6F6T0X2FfqOU9sfJZlCS0bTEgdcHB2eHLZnDVxIG hurhAijhhF1rT6RnSjFXmz9Krih4FPu4KJDeQ Received: by 106.10.196.92; Fri, 08 May 2015 08:04:20 +0000 Date: Fri, 8 May 2015 08:04:19 +0000 (UTC) From: Abhijit Deka Reply-To: Abhijit Deka To: hongbin ma Cc: "Shi, Shaofeng" , "dev@kylin.incubator.apache.org" Message-ID: <274125455.1635682.1431072259733.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: Cube build failed MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1635681_142823984.1431072259714" ------=_Part_1635681_142823984.1431072259714 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks.I'll try with the latest=C2=A0Regards Abhijit DekaComputer ScientistAdobe SystemsBangalore Ph-+91 80884 39067=20 On Friday, 8 May 2015 1:26 PM, hongbin ma wrote= : =20 to be honest we barely had the bandwidth to test on chd,i would recommend = the latest cdh On Fri, May 8, 2015 at 3:54 PM, Abhijit Deka = wrote: Please let me know which version of CHD should I download.(tested with all = the Kylin components)=C2=A0Regards Abhijit DekaComputer ScientistAdobe SystemsBangalore Ph-+91 80884 39067=20 On Friday, 8 May 2015 12:33 PM, hongbin ma wrot= e: =20 hi,cdh 5.1 is using hive 0.12, however we require 0.14 at leastto save all= the troubles, you can change to hdp 2.2 if possible On Fri, May 8, 2015 at 2:52 PM, Abhijit Deka = wrote: Hi, That issue is resolved when i moved from External table. but I am getitng a new error now .In the same build step I am getting this java.lang.IncompatibleClassChangeError: Found class org.apache.hive.hcatalo= g.data.transfer.ReaderContext, but interface was expected =09at org.apache.kylin.dict.lookup.HiveTableReader.initialize(HiveTableRead= er.java:85) =09at org.apache.kylin.dict.lookup.HiveTableReader.(HiveTableReader.j= ava:74) =09at org.apache.kylin.dict.lookup.HiveTableReader.(HiveTableReader.j= ava:60) =09at org.apache.kylin.dict.lookup.HiveTable.getReader(HiveTable.java:66) =09at org.apache.kylin.dict.DictionaryGenerator.loadColumnValues(Dictionary= Generator.java:173) =09at org.apache.kylin.dict.DictionaryGenerator.buildDictionary(DictionaryG= enerator.java:112) =09at org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryMan= ager.java:172) =09at org.apache.kylin.cube.CubeManager.buildDictionary(CubeManager.java:15= 4) =09at org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(Dicti= onaryGeneratorCLI.java:53) =09at org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(Dicti= onaryGeneratorCLI.java:42) =09at org.apache.kylin.job.hadoop.dict.CreateDictionaryJob.run(CreateDictio= naryJob.java:53) =09at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) =09at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) =09at org.apache.kylin.job.common.HadoopShellExecutable.doWork(HadoopShellE= xecutable.java:63) =09at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExe= cutable.java:107) =09at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(Defaul= tChainedExecutable.java:50) =09at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExe= cutable.java:107) =09at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(D= efaultScheduler.java:132) =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.= java:1145) =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor= .java:615) =09at java.lang.Thread.run(Thread.java:745)Do you know what is causing this= error?=20 Regards Abhijit DekaComputer ScientistAdobe SystemsBangalore Ph-+91 80884 39067=20 On Friday, 8 May 2015 11:09 AM, hongbin ma wrot= e: =20 what will you get if you run=C2=A0hadoop fs -cat=C2=A0/user/hive/warehouse= /glaastest_dim_vendor ? On Fri, May 8, 2015 at 1:37 PM, Abhijit Deka = wrote: Hi Shi, It's Hive.=C2=A0Regards Abhijit DekaComputer ScientistAdobe SystemsBangalore Ph-+91 80884 39067=20 On Friday, 8 May 2015 10:09 AM, "Shi, Shaofeng" wro= te: =20 What=E2=80=99s the owner info for hdfs://quickstart.cloudera:8020/user/hive/warehouse/glaastest_dim_vendor ? Didn=E2=80=99t see it here. On 5/8/15, 12:35 PM, "Abhijit Deka" wrote: >Hi Bin, >Thanks for the reply.I have already mentioned that I have verified and >the file exists in HDFS.But the owner is Hive not Cloudera. >drwxrwxrwx=C2=A0 - hive=C2=A0 =C2=A0 hive=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 0 2015-05-07 04:22 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/glaastest_dim_product >drwxrwxrwx=C2=A0 - hive=C2=A0 =C2=A0 hive=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 0 2015-05-07 04:20 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/glaastest_fact >drwxrwxrwx=C2=A0 - cloudera supergroup=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0= 2015-05-04 07:18 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/kylin_cal_dt >drwxrwxrwx=C2=A0 - cloudera supergroup=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0= 2015-05-04 07:18 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/kylin_category_groupin >gs >drwxrwxrwx=C2=A0 - cloudera supergroup=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0= 2015-05-04 07:18 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/kylin_sales > >For the example bundled with Kylin the user is Cloudera. Is it some kind >of permission issue I am running into.Meanwhile i'll try to run it with >hive table (not external) > > Regards >Abhijit DekaComputer ScientistAdobe SystemsBangalore >Ph-+91 80884 39067 > > >=C2=A0 =C2=A0 On Friday, 8 May 2015 6:59 AM, hongbin ma >wrote: >=C2=A0=20 > > for all the lookup tables, for example glaastest_dim_vendor=C2=A0 in your >case, kylin asks hive the hdfs location of it, and will try to read the >hdfs file directly. >it seems hive returned the location: >hdfs://quickstart.cloudera:8020/user/hive/warehouse/glaastest_dim_vendor >does , but the file does not exist. can you verify why hive returned such >location(as you described it's a external table in hbase?) >An alternative is that you convert all the lookup tables into >non-external tables >On Thu, May 7, 2015 at 4:40 PM, Abhijit Deka > wrote: > >Forgot to add the machine info.I am running it in CHD 5.1.0 >virtualbox.Not a cluster. > Regards >Abhijit DekaComputer ScientistAdobe SystemsBangalore >Ph-+91 80884 39067 > > >=C2=A0 =C2=A0 On Thursday, 7 May 2015 1:36 AM, Abhijit Deka > wrote: > > > Hi, >I am new to Kylin and i was trying out a simple cube.I did the below >steps.Please let me know if i have done anything wrong. >1.Done ETL in Pig.2.Stored the Fact and Dim tables in Hbase.3.Created >external table in Hive to query the data and also use in Kylin4.Created >the cube as instructed in documentation.5.Build the cube. >But the cube build failed in 3rd step. >Below are the logs >java.io.FileNotFoundException: File >hdfs://quickstart.cloudera:8020/user/hive/warehouse/glaastest_dim_vendor >does not exist. >=C2=A0 =C2=A0 at=20 >org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(Distribute >dFileSystem.java:654) >=C2=A0 =C2=A0 at=20 >org.apache.hadoop.hdfs.DistributedFileSystem.access$600(DistributedFileSys >tem.java:102) >=C2=A0 =C2=A0 at=20 >org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSyst >em.java:712) >=C2=A0 =C2=A0 at=20 >org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSyst >em.java:708) >=C2=A0 =C2=A0 at=20 >org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver >.java:81) >=C2=A0 =C2=A0 at=20 >org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSys >tem.java:708) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.dict.lookup.HiveTable.findOnlyFile(HiveTable.java:116) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.dict.lookup.HiveTable.computeHDFSLocation(HiveTable.java: >107) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.dict.lookup.HiveTable.getHDFSLocation(HiveTable.java:83) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.dict.lookup.HiveTable.getFileTable(HiveTable.java:76) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.dict.lookup.HiveTable.getSignature(HiveTable.java:71) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager. >java:164) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.cube.CubeManager.buildDictionary(CubeManager.java:154) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(Dictionary >GeneratorCLI.java:53) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(Dictionary >GeneratorCLI.java:42) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.job.hadoop.dict.CreateDictionaryJob.run(CreateDictionaryJ >ob.java:53) >=C2=A0 =C2=A0 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) >=C2=A0 =C2=A0 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.job.common.HadoopShellExecutable.doWork(HadoopShellExecut >able.java:63) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutab >le.java:107) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChai >nedExecutable.java:50) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutab >le.java:107) >=C2=A0 =C2=A0 at=20 >org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(Defaul >tScheduler.java:132) >=C2=A0 =C2=A0 at=20 >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: >1145) >=C2=A0 =C2=A0 at=20 >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java >:615) >=C2=A0 =C2=A0 at java.lang.Thread.run(Thread.java:745) >Now when I check for the file in HDFS the file is there but it looks like >a permission issue.(??) >drwxrwxrwx=C2=A0 - hive=C2=A0 =C2=A0 hive=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 0 2015-05-07 04:22 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/glaastest_dim_product >drwxrwxrwx=C2=A0 - hive=C2=A0 =C2=A0 hive=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 0 2015-05-07 04:20 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/glaastest_fact >drwxrwxrwx=C2=A0 - cloudera supergroup=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0= 2015-05-04 07:18 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/kylin_cal_dt >drwxrwxrwx=C2=A0 - cloudera supergroup=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0= 2015-05-04 07:18 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/kylin_category_groupin >gs >drwxrwxrwx=C2=A0 - cloudera supergroup=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0= 2015-05-04 07:18 >hdfs://quickstart.cloudera:8020/user/hive/warehouse/kylin_sales >How do i solve this issue.Thanks in advance. > Regards >Abhijit DekaComputer ScientistAdobe SystemsBangalore > > >=C2=A0=20 > > > >--=20 >Regards, >Bin Mahone | =E9=A9=AC=E6=B4=AA=E5=AE=BE >Apache Kylin: http://kylin.io >Github: https://github.com/binmahone > >=C2=A0=20 =20 --=20 Regards, Bin Mahone | =E9=A9=AC=E6=B4=AA=E5=AE=BE Apache Kylin: http://kylin.io Github: https://github.com/binmahone=20 =20 --=20 Regards, Bin Mahone | =E9=A9=AC=E6=B4=AA=E5=AE=BE Apache Kylin: http://kylin.io Github: https://github.com/binmahone=20 =20 --=20 Regards, Bin Mahone | =E9=A9=AC=E6=B4=AA=E5=AE=BE Apache Kylin: http://kylin.io Github: https://github.com/binmahone=20 ------=_Part_1635681_142823984.1431072259714--