[
https://issues.apache.org/jira/browse/HBASE-21122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595329#comment-16595329
]
Ted Yu edited comment on HBASE-21122 at 8/28/18 5:19 PM:
---------------------------------------------------------
I tried to run the added test alone:
{code}
[ERROR]
/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/BulkLoadMultiVersionCellSuite.scala:103:
error: too many arguments for constructor KeyFamilyQualifier: (rowKey:
Array[Byte], family: Array[Byte], qualifier:
Array[Byte])org.apache.hadoop.hbase.spark.KeyFamilyQualifier
[ERROR] val keyFamilyQualifier = new
KeyFamilyQualifier(rowKey, cf, column, timestamp)
[ERROR] ^
[ERROR]
/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/BulkLoadMultiVersionCellSuite.scala:114:
error: constructor HTable in class HTable cannot be accessed in class
BulkLoadMultiVersionCellSuite
[ERROR] Access to protected constructor HTable not permitted because
[ERROR] enclosing class BulkLoadMultiVersionCellSuite in package spark is not
a subclass of
[ERROR] class HTable in package client where target is defined
[ERROR] new HTable(hbaseConf, tableName),
{code}
Can you :
* combine the fix with the test
* the test should compile and fail without fix
* the test should compile and pass with fix
* press 'Submit Patch' button after attaching next patch
was (Author: [email protected]):
I tried to run the added test alone:
{code}
[ERROR]
/mnt/disk2/a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/BulkLoadMultiVersionCellSuite.scala:103:
error: too many arguments for constructor KeyFamilyQualifier: (rowKey:
Array[Byte], family: Array[Byte], qualifier:
Array[Byte])org.apache.hadoop.hbase.spark.KeyFamilyQualifier
[ERROR] val keyFamilyQualifier = new
KeyFamilyQualifier(rowKey, cf, column, timestamp)
[ERROR] ^
[ERROR]
/mnt/disk2/a/hbase/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/BulkLoadMultiVersionCellSuite.scala:114:
error: constructor HTable in class HTable cannot be accessed in class
BulkLoadMultiVersionCellSuite
[ERROR] Access to protected constructor HTable not permitted because
[ERROR] enclosing class BulkLoadMultiVersionCellSuite in package spark is not
a subclass of
[ERROR] class HTable in package client where target is defined
[ERROR] new HTable(hbaseConf, tableName),
{code}
Can you :
* combine the fix with the test
* the test should compile and fail without fix
* the test should compile and pass with fix
* press 'Submit Patch' button after attaching next patch
> bulkload multi-version Cell supported in hbase-spark module
> ------------------------------------------------------------
>
> Key: HBASE-21122
> URL: https://issues.apache.org/jira/browse/HBASE-21122
> Project: HBase
> Issue Type: Improvement
> Components: spark
> Affects Versions: 1.1.2, 2.1.1
> Reporter: zhangyanshan
> Priority: Major
> Labels: features
> Attachments: HBASE-21122.000.patch, HBASE-21122.001.patch,
> HBASE-21122.002.patch
>
>
> bulkload multi-version Cell not supported in HBaseContext.scala, this issue
> will add function of bulkload multi-version Cell
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)