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 3229C200C68 for ; Wed, 3 May 2017 20:56:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 30B61160BBA; Wed, 3 May 2017 18:56: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 51E14160BA1 for ; Wed, 3 May 2017 20:56:08 +0200 (CEST) Received: (qmail 45123 invoked by uid 500); 3 May 2017 18:56:07 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 45105 invoked by uid 99); 3 May 2017 18:56:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2017 18:56:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D217A188342 for ; Wed, 3 May 2017 18:56:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 0tL8lSLCqp_E for ; Wed, 3 May 2017 18:56:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4BF535FC7A for ; Wed, 3 May 2017 18:56:05 +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 CB6C5E0D2B for ; Wed, 3 May 2017 18:56:04 +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 348BB21DEF for ; Wed, 3 May 2017 18:56:04 +0000 (UTC) Date: Wed, 3 May 2017 18:56:04 +0000 (UTC) From: "Sean Busbey (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17989) hbase-spark silent compilation failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 03 May 2017 18:56:09 -0000 [ https://issues.apache.org/jira/browse/HBASE-17989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995433#comment-15995433 ] Sean Busbey commented on HBASE-17989: ------------------------------------- {code} Busbey-MBA:hbase busbey$ find hbase-spark/target/classes -type f | wc -l 512 Busbey-MBA:hbase busbey$ grep -lrF 'Unresolved compilation problem' hbase-spark/target/classes/ Busbey-MBA:hbase busbey$ mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00) Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_74, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac" {code} Can you try an earlier maven? > hbase-spark silent compilation failures > --------------------------------------- > > Key: HBASE-17989 > URL: https://issues.apache.org/jira/browse/HBASE-17989 > Project: HBase > Issue Type: Bug > Components: build, spark > Environment: Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T14:39:06-05:00) > Maven home: /opt/apache-maven-3.5.0 > Java version: 1.8.0_131, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-8-oracle/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.13.0-116-generic", arch: "amd64", family: "unix" > Reporter: Mike Drob > Priority: Blocker > Fix For: 2.0.0 > > > This is very possibly an issue with my local environment, but it seems strange enough that I'm not sure. > There are tons of compilation problems in the hbase-spark module. I first noticed them because eclipse was complaining very loudly, but was very confused when {{mvn package}} seemed to succeed. In trying to investigate, I took a look at the generated class file and saw what looks like javac error output: > {noformat} > $ less hbase-spark/target/classes/org/apache/hadoop/hbase/spark/SparkSQLPushDownFilter.class > ^@^@^@4^@R^G^@^B^A^@4org/apache/hadoop/hbase/spark/SparkSQLPushDownFilter^G^@^D^A^@)org/apache/hadoop/hbase/filter/FilterBase^A^@^Clog^A^@ Lorg/apache/commons/logging/Log;^A^@^VdynamicLogicExpression^A^@^XLDynamicLogicExpression;^A^@^SvalueFromQueryArray^A^@^C[[B^A^@ESCcurrentCellToColumnIndexMap^A^@^SLjava/util/HashMap;^A^@ Signature^A^@fLjava/util/HashMap;>;^A^@^ZcolumnToCurrentRowValueMap^A^@;^A^@^LrowKeyFamily^A^@^B[B^A^@^OrowKeyQualifier^A^@^PencoderClassName^A^@^RLjava/lang/String;^A^@^F^A^@C(LDynamicLogicExpression;[[BLjava/util/HashMap;Ljava/lang/String;)V^A^@<96>(LDynamicLogicExpression;[[BLjava/util/HashMap;>;Ljava/lang/String;)V^A^@^DCode^G^@ESC^A^@^Ojava/lang/Erro^@^]^A^M"Unresolved compilation problems: > The import org.apache.hadoop.hbase.spark.datasources.BytesEncoder cannot be resolved > The import org.apache.hadoop.hbase.spark.datasources.JavaBytesEncoder cannot be resolved > The import org.apache.spark.sql.datasources.hbase.Field cannot be resolved > DynamicLogicExpression cannot be resolved to a type > ByteArrayComparable cannot be resolved to a type > ByteArrayComparable cannot be resolved to a type > ByteArrayComparable cannot be resolved to a type > DynamicLogicExpression cannot be resolved to a type > > {noformat} > This problem is present in several classes. > {noformat} > $ grep -lrF 'Unresolved compilation problem' **/*.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkDeleteExample.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkGetExample.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkLoadExample$BulkLoadFunction.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkLoadExample.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkPutExample.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseDistributedScan.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseMapGetPutExample.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseStreamingBulkPutExample.class > hbase-spark/target/classes/org/apache/hadoop/hbase/spark/SparkSQLPushDownFilter.class > hbase-spark/target/test-classes/org/apache/hadoop/hbase/spark/TestJavaHBaseContext$BulkLoadFunction.class > hbase-spark/target/test-classes/org/apache/hadoop/hbase/spark/TestJavaHBaseContext$BulkLoadThinRowsFunction.class > hbase-spark/target/test-classes/org/apache/hadoop/hbase/spark/TestJavaHBaseContext.class > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)