Skip to content

HBASE-25839 Bulk Import fails with java.io.IOException: Type mismatch in value from map - #6547

Merged
pankaj72981 merged 1 commit into
apache:branch-2from
srinireddy2020:HBASE-25839
Mar 12, 2025
Merged

HBASE-25839 Bulk Import fails with java.io.IOException: Type mismatch in value from map#6547
pankaj72981 merged 1 commit into
apache:branch-2from
srinireddy2020:HBASE-25839

Conversation

@srinireddy2020

Copy link
Copy Markdown
Contributor
  1. CellSortImporter emits values wrapped inside MapReduceExtendedCell
  2. Converted KV to CellUtil.

@srinireddy2020

Copy link
Copy Markdown
ContributorAuthor

@anoopsjohn
As per your suggestion #3232 (comment)
I have changed and tested in the branch-2. It is working as expected.

Please review the changes.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

Cell ret = convertKv(kv, cfRenameMap);
context.write(new CellWritableComparable(ret), ret);
context.write(new CellWritableComparable(ret), new MapReduceExtendedCell(ret));
}

@pankaj72981pankaj72981Dec 19, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add UT?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this issue.
Comment addressed, please verify.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache9

Copy link
Copy Markdown
Contributor

We do not have this problem on master branch?

@Apache9

Copy link
Copy Markdown
Contributor

Any updates here?

@srinireddy2020

Copy link
Copy Markdown
ContributorAuthor

Any updates here?

Sorry for the Late reply, This issue is exist in the master branch also.

@srinireddy2020

Copy link
Copy Markdown
ContributorAuthor

We do not have this problem on master branch?

Raised PR for the Master Branch.
@Apache9 please check and review.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec1m 17sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ branch-2 Compile Tests _
+1 💚mvninstall4m 57sbranch-2 passed
+1 💚compile0m 59sbranch-2 passed
+1 💚checkstyle0m 23sbranch-2 passed
+1 💚spotbugs0m 57sbranch-2 passed
+1 💚spotless1m 17sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall4m 43sthe patch passed
+1 💚compile0m 48sthe patch passed
+1 💚javac0m 48sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle0m 16sthe patch passed
+1 💚spotbugs0m 54sthe patch passed
+1 💚hadoopcheck21m 45sPatch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.0.
+1 💚spotless1m 12spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 17sThe patch does not generate ASF License warnings.
41m 45s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6547
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
unameLinux 91581a226abb 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 5908276
Default JavaEclipse Adoptium-11.0.23+9
Max. process+thread count76 (vs. ulimit of 30000)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/console
versionsgit=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 46sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+1 💚mvninstall2m 34sbranch-2 passed
+1 💚compile0m 17sbranch-2 passed
+1 💚javadoc0m 13sbranch-2 passed
+1 💚shadedjars5m 18sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+1 💚mvninstall2m 23sthe patch passed
+1 💚compile0m 17sthe patch passed
+1 💚javac0m 17sthe patch passed
+1 💚javadoc0m 12sthe patch passed
+1 💚shadedjars5m 18spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit13m 43shbase-mapreduce in the patch passed.
32m 11s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#6547
Optional Testsjavac javadoc unit compile shadedjars
unameLinux adbe73f0aa75 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 5908276
Default JavaTemurin-1.8.0_412-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/testReport/
Max. process+thread count2625 (vs. ulimit of 30000)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec1m 4sDocker mode activated.
-0 ⚠️yetus0m 7sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+1 💚mvninstall4m 22sbranch-2 passed
+1 💚compile0m 34sbranch-2 passed
+1 💚javadoc0m 23sbranch-2 passed
+1 💚shadedjars8m 12sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+1 💚mvninstall4m 30sthe patch passed
+1 💚compile0m 31sthe patch passed
+1 💚javac0m 31sthe patch passed
+1 💚javadoc0m 22sthe patch passed
+1 💚shadedjars8m 10spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit19m 28shbase-mapreduce in the patch passed.
48m 54s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6547
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 2f763ad49cd9 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 5908276
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/testReport/
Max. process+thread count2876 (vs. ulimit of 30000)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec1m 11sDocker mode activated.
-0 ⚠️yetus0m 7sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+1 💚mvninstall4m 31sbranch-2 passed
+1 💚compile0m 25sbranch-2 passed
+1 💚javadoc0m 17sbranch-2 passed
+1 💚shadedjars7m 56sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+1 💚mvninstall4m 16sthe patch passed
+1 💚compile0m 37sthe patch passed
+1 💚javac0m 37sthe patch passed
+1 💚javadoc0m 23sthe patch passed
+1 💚shadedjars8m 5spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit24m 15shbase-mapreduce in the patch passed.
53m 17s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#6547
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 02c230b6ebf0 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 5908276
Default JavaEclipse Adoptium-11.0.23+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/testReport/
Max. process+thread count2767 (vs. ulimit of 30000)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6547/6/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@pankaj72981
pankaj72981 merged commit 3573930 into apache:branch-2Mar 12, 2025
pankaj72981 pushed a commit that referenced this pull request Mar 12, 2025
… in value from map (#6547)
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit 3573930)
pankaj72981 pushed a commit that referenced this pull request Mar 12, 2025
… in value from map (#6547)
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit 3573930)
mokai87 pushed a commit to mokai87/hbase that referenced this pull request Aug 7, 2025
… in value from map (apache#6547)
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
sanjeet006py pushed a commit to sanjeet006py/hbase that referenced this pull request Sep 26, 2025
… in value from map (apache#6547)
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit 3573930)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@srinireddy2020@Apache-HBase@Apache9@pankaj72981