HADOOP-1386. Fix Path to not permit the empty string as a path, as this has lead to accidental file deletion. Instead force applications to use '.' to name the default directory. Contributed by Hairong.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@540359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a53c236b9
commit
356f3919e9
|
@ -54,7 +54,7 @@ public class HStoreFile implements HConstants, WritableComparable {
|
||||||
*/
|
*/
|
||||||
public HStoreFile(Configuration conf) {
|
public HStoreFile(Configuration conf) {
|
||||||
this.conf = conf;
|
this.conf = conf;
|
||||||
this.dir = new Path("");
|
this.dir = new Path(Path.CUR_DIR);
|
||||||
this.regionName = new Text();
|
this.regionName = new Text();
|
||||||
this.colFamily = new Text();
|
this.colFamily = new Text();
|
||||||
this.fileId = 0;
|
this.fileId = 0;
|
||||||
|
|
Loading…
Reference in New Issue