hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17547) HBase-Spark Module : TableCatelog doesn't supports multiple columns from Single Column family
Date Thu, 26 Jan 2017 18:02:24 GMT

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

Hadoop QA commented on HBASE-17547:
-----------------------------------

| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 13s {color} | {color:blue}
Docker mode activated. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s {color} | {color:green}
The patch does not contain any @author tags. {color} |
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s {color}
| {color:green} The patch appears to include 1 new or modified test files. {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 2m 55s {color}
| {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 49s {color} |
{color:green} master passed {color} |
| {color:green}+1{color} | {color:green} scaladoc {color} | {color:green} 0m 23s {color} |
{color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 50s {color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} scalac {color} | {color:green} 0m 50s {color} | {color:green}
the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s {color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 26m 19s {color}
| {color:green} Patch does not cause any errors with Hadoop 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5
2.7.1 2.7.2 2.7.3 or 3.0.0-alpha1. {color} |
| {color:green}+1{color} | {color:green} scaladoc {color} | {color:green} 0m 22s {color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green} 0m 50s {color} | {color:green}
hbase-spark in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 6s {color}
| {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 32m 56s {color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=1.12.3 Server=1.12.3 Image:yetus/hbase:8d52d23 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12849536/HBASE-17547.master.001.patch
|
| JIRA Issue | HBASE-17547 |
| Optional Tests |  asflicense  scalac  scaladoc  unit  compile  |
| uname | Linux 530f89aceabb 3.13.0-105-generic #152-Ubuntu SMP Fri Dec 2 15:37:11 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh
|
| git revision | master / 0ac5d4a |
|  Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/5467/testReport/ |
| modules | C: hbase-spark U: hbase-spark |
| Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/5467/console |
| Powered by | Apache Yetus 0.3.0   http://yetus.apache.org |


This message was automatically generated.



> HBase-Spark Module : TableCatelog doesn't supports multiple columns from Single Column
family
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-17547
>                 URL: https://issues.apache.org/jira/browse/HBASE-17547
>             Project: HBase
>          Issue Type: Bug
>          Components: spark
>    Affects Versions: 1.1.8
>            Reporter: Chetan Khatri
>            Assignee: Chetan Khatri
>         Attachments: HBASE-17547.master.001.patch
>
>
> Issue: HBase-Spark Module : TableCatelog doesn't supports multiple columns from single
column family.
> Description:
> Datasource API under HBase-Spark Module having error, which accessing more than 1 columns
from same column family.
> If your catalog having the format where you have multiple columns from single / multiple
column family, at that point it throws an exception, for example.
> def empcatalog = s"""{
> |"table":{"namespace":"empschema", "name":"emp"},
> |"rowkey":"key",
> |"columns":{
> |"empNumber":{"cf":"rowkey", "col":"key", "type":"string"},
> |"city":{"cf":"pdata", "col":"city", "type":"string"},
> |"empName":{"cf":"pdata", "col":"name", "type":"string"},
> |"jobDesignation":{"cf":"pdata", "col":"designation", "type":"string"},
> |"salary":{"cf":"pdata", "col":"salary", "type":"string"}
> |}
> |}""".stripMargin
> Here, we have city, name, designation, salary from pdata column family.
> Exception while saving Dataframe at HBase.
> java.lang.IllegalArgumentException: Family 'pdata' already exists so cannot be added
> at org.apache.hadoop.hbase.HTableDescriptor.addFamily(HTableDescriptor.java:827)
> at org.apache.spark.sql.execution.datasources.hbase.HBaseRelation$$anonfun$createTable$1.apply(HBaseRelation.scala:98)
> at org.apache.spark.sql.execution.datasources.hbase.HBaseRelation$$anonfun$createTable$1.apply(HBaseRelation.scala:95)
> at scala.collection.immutable.List.foreach(List.scala:381)
> at org.apache.spark.sql.execution.datasources.hbase.HBaseRelation.createTable(HBaseRelation.scala:95)
> at org.apache.spark.sql.execution.datasources.hbase.DefaultSource.createRelation(HBaseRelation.scala:58)
> at org.apache.spark.sql.execution.datasources.DataSource.write(DataSource.scala:457)
> at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:211)
> HBaseTableCatalog.scala class has getColumnFamilies method which returns duplicates,
which should not return.
> Unit test has been written for the same at DefaultSourceSuite.scala, writeCatalog object
definition.



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

Mime
View raw message