Skip to content

HBase Visibility#1048

Merged
rfecher merged 1 commit intocasanamo-masterfrom
hbase-vis
Mar 27, 2017
Merged

HBase Visibility#1048
rfecher merged 1 commit intocasanamo-masterfrom
hbase-vis

Conversation

@blastarr
Copy link
Copy Markdown
Contributor

@blastarr blastarr commented Mar 7, 2017

No description provided.


if (admin.getConfiguration().getInt(
"hfile.format.version",
0) != 3) {
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.

">= 3" seems like it would future proof us from log spam

private final Connection conn;
private final String tableNamespace;
private final boolean schemaUpdateEnabled;
private final HashMap<String, List<String>> coprocessorCache = new HashMap<String, List<String>>();
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.

perhaps outside of the scope of this issue, but food for thought it may be nice to have something like the Cassandra implementation of KeyspaceStatePool that basically caches stateful data so that it can be used across instances of the Operations. In other words, if the lifecycle of these operations objects is short-lived the cache could become less useful, but definitely not something that needs immediate attention.

"hfile.format.version");
assertTrue(
"HFile version is incorrect",
hfileVersionStr.equals("3"));
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.

this is less of a problem because we control the test environment, but still, maybe it'd be more flexible to make this >= 3?

@rfecher rfecher merged commit 714c9b8 into casanamo-master Mar 27, 2017
@rfecher rfecher deleted the hbase-vis branch March 27, 2017 17:08
rfecher pushed a commit that referenced this pull request Jul 25, 2017
@blastarr blastarr restored the hbase-vis branch August 25, 2017 16:12
@rfecher rfecher deleted the hbase-vis branch March 5, 2018 14:29
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