You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/12/05 04:01:58 UTC

[jira] [Commented] (HBASE-16179) Fix compilation errors when building hbase-spark against Spark 2.0

    [ https://issues.apache.org/jira/browse/HBASE-16179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15721152#comment-15721152 ] 

Ted Yu commented on HBASE-16179:
--------------------------------

Not sure how to get rid of the following scaladoc warning:
{code}
/testptch/hbase/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/DefaultSource.scala:26: warning: imported `Logging' is permanently hidden by definition of object Logging in package spark
{code}
Some scaladoc warnings are not related to the patch.
e.g.
{code}
/testptch/hbase/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/NewHBaseRDD.scala:25: warning: no valid targets for annotation on value sc - it is discarded unused. You may specify targets with meta-annotations, e.g. @(transient @param)
{code}
The patch doesn't touch NewHBaseRDD.scala

I can dig deeper into the warnings once the code change is confirmed by the review.

> Fix compilation errors when building hbase-spark against Spark 2.0
> ------------------------------------------------------------------
>
>                 Key: HBASE-16179
>                 URL: https://issues.apache.org/jira/browse/HBASE-16179
>             Project: HBase
>          Issue Type: Bug
>          Components: spark
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: 16179.v0.txt, 16179.v1.txt, 16179.v1.txt, 16179.v10.txt, 16179.v11.txt, 16179.v12.txt, 16179.v12.txt, 16179.v12.txt, 16179.v13.txt, 16179.v15.txt, 16179.v16.txt, 16179.v18.txt, 16179.v19.txt, 16179.v19.txt, 16179.v4.txt, 16179.v5.txt, 16179.v7.txt, 16179.v8.txt, 16179.v9.txt
>
>
> I tried building hbase-spark module against Spark-2.0 snapshot and got the following compilation errors:
> http://pastebin.com/bg3w247a
> Some Spark classes such as DataTypeParser and Logging are no longer accessible to downstream projects.
> hbase-spark module should not depend on such classes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)