-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CDAP-20982] Removing Hbase code references as a part of Hadoop upgrade 2 to 3 #15595
Conversation
9b04fd0
to
7cec813
Compare
Hi @chtyim ,
Testing :
Please let me know are there any other testing that i need to perform to ensure everything is working fine. |
714faae
to
2bd909c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that cdap-data-fabric-tests failed. Could you check it?
cdap-common/src/main/java/io/cdap/cdap/common/messaging/MessagingUtils.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please update PR title to include JIRA ID and remove draft reference
@@ -383,11 +382,12 @@ public <T extends Dataset> T getDataset(String namespace, String name, | |||
* true. | |||
*/ | |||
private Map<String, String> adjustRuntimeArguments(Map<String, String> args) { | |||
if (args.containsKey(HBaseTable.SAFE_INCREMENTS)) { | |||
String SAFE_INCREMENTS = "dataset.table.safe.readless.increments"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was use only in HBaseTable, we can remove it altogether
hBaseTestingUtility.startMiniDFSCluster(1); | ||
Configuration hConf = hBaseTestingUtility.getConfiguration(); | ||
Configuration hConf = new Configuration(); | ||
hConf.set(MiniDFSCluster.HDFS_MINIDFS_BASEDIR,tmpFolder.newFolder().getAbsolutePath()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix checkstyle
@@ -50,10 +50,12 @@ | |||
import io.cdap.cdap.spi.metadata.noop.NoopMetadataStorage; | |||
import java.io.File; | |||
import java.util.Arrays; | |||
import java.util.Map; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please fix other checkstyle inssues in new code
pom.xml
Outdated
@@ -2039,7 +1828,8 @@ | |||
<package.rpm.arch>all</package.rpm.arch> | |||
<package.dirs>opt etc</package.dirs> | |||
<package.config.dirs>--config-files etc/cdap --config-files etc/logrotate.d --config-files etc/security</package.config.dirs> | |||
<dependency.groupId.exclusions>org.apache.hadoop,org.apache.hbase,\ | |||
<dependency.groupId.exclusions>org.apache.hadoop,\ | |||
<!-- org.apache.hbase,\--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't add commented code
No description provided.