Skip to content
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

HBASE-27900. [HBOSS] Open file fails with NumberFormatException for S3AFileSystem #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steveloughran
Copy link
Contributor

This corrects the same bug as HADOOP-18724; overloading of setter by different number types can cause problems. This patch converts all supplied double/float args to long before setting -exactly what the hadoop change does.

Change-Id: Iba5e4966f3260ffb132c70bb9490ceb57198f9cc
Copy link

@virajjasani virajjasani left a comment

Choose a reason for hiding this comment

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

left a few nits

/**
* sets the long value.
* @since Hadoop-3.3.6
* Method added in HADOOP-18274.

Choose a reason for hiding this comment

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

typo? HADOOP-18724


/**
* Set optional double parameter for the Builder.
* @since Hadoop-3.3.6

Choose a reason for hiding this comment

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

shall we mention HADOOP-18724 for all comments with @since Hadoop-3.3.6?

Sign up for free to 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.

2 participants