-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HBASE-25449 'dfs.client.read.shortcircuit' should not be set in hbase…
…-default.xml Revert of the revert -- re-applying HBASE-25449 with a change of renaming the test hdfs XML configuration file as it was adversely affecting tests using MiniDFS This reverts commit c218e57. Co-authored-by: Josh Elser <[email protected]> Signed-off-by: Peter Somogyi <[email protected]> Signed-off-by: Michael Stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
- Loading branch information
1 parent
4caab90
commit 3488c44
Showing
4 changed files
with
103 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0"?> | ||
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | ||
<!-- | ||
/** | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
--> | ||
|
||
<configuration> | ||
<property> | ||
<name>dfs.client.read.shortcircuit</name> | ||
<value>false</value> | ||
<description> | ||
If set to true, this configuration parameter enables short-circuit local | ||
reads. | ||
</description> | ||
</property> | ||
<property> | ||
<name>dfs.domain.socket.path</name> | ||
<value></value> | ||
<description> | ||
Optional. This is a path to a UNIX domain socket that will be used for | ||
communication between the DataNode and local HDFS clients. | ||
If the string "_PORT" is present in this path, it will be replaced by the | ||
TCP port of the DataNode. | ||
</description> | ||
</property> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0"?> | ||
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | ||
<!-- | ||
/** | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
--> | ||
|
||
<configuration> | ||
<property> | ||
<name>dfs.client.read.shortcircuit</name> | ||
<value>true</value> | ||
<description> | ||
If set to true, this configuration parameter enables short-circuit local | ||
reads. | ||
</description> | ||
</property> | ||
<property> | ||
<name>dfs.domain.socket.path</name> | ||
<value>/var/lib/hadoop-hdfs/dn_socket</value> | ||
<description> | ||
Optional. This is a path to a UNIX domain socket that will be used for | ||
communication between the DataNode and local HDFS clients. | ||
If the string "_PORT" is present in this path, it will be replaced by the | ||
TCP port of the DataNode. | ||
</description> | ||
</property> | ||
</configuration> |