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:
Doug Cutting 2007-05-21 23:30:40 +00:00
parent 8a53c236b9
commit 356f3919e9
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class HStoreFile implements HConstants, WritableComparable {
*/
public HStoreFile(Configuration conf) {
this.conf = conf;
this.dir = new Path("");
this.dir = new Path(Path.CUR_DIR);
this.regionName = new Text();
this.colFamily = new Text();
this.fileId = 0;