You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Balazs Meszaros (Jira)" <ji...@apache.org> on 2023/10/16 07:58:00 UTC

[jira] [Assigned] (HBASE-28152) Replace scala.util.parsing.json with org.json4s.jackson which used in Spark too

     [ https://issues.apache.org/jira/browse/HBASE-28152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Balazs Meszaros reassigned HBASE-28152:
---------------------------------------

    Assignee: Attila Zsolt Piros

> Replace scala.util.parsing.json with org.json4s.jackson which used in Spark too
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-28152
>                 URL: https://issues.apache.org/jira/browse/HBASE-28152
>             Project: HBase
>          Issue Type: New Feature
>          Components: spark
>    Affects Versions: connector-1.0.0
>            Reporter: Attila Zsolt Piros
>            Assignee: Attila Zsolt Piros
>            Priority: Major
>
> In https://issues.apache.org/jira/browse/HBASE-28137 to support Spark 3.4 the scala-parser-combinators was added as direct dependency to HBase Spark Connector. 
> This was needed as Spark 3.4 is not using scala-parser-combinators and it is not inherited as transitive dependency.  
> But this solution has a disadvantage. As the HBase Spark Connector assembly jar does not include any 3rd party libraries the scala-parser-combinators must be added to the spark classpath for HBase Spark Connector to work.
> A much better solution is to replace  scala.util.parsing.json with org.json4s.jackson which is used by Spark core, see https://github.com/apache/spark/blob/branch-3.4/core/pom.xml#L279-L280.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)