http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e10887fe/devapidocs/org/apache/hadoop/hbase/util/CommonFSUtils.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/util/CommonFSUtils.html b/devapidocs/org/apache/hadoop/hbase/util/CommonFSUtils.html index 40667fc..6705fc8 100644 --- a/devapidocs/org/apache/hadoop/hbase/util/CommonFSUtils.html +++ b/devapidocs/org/apache/hadoop/hbase/util/CommonFSUtils.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/util/CollectionUtils.IOExceptionSupplier.html" title="interface in org.apache.hadoop.hbase.util"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.StreamCapabilities.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.DfsBuilderUtility.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/util/CommonFSUtils.html" target="_top">Frames</a></li> @@ -141,9 +141,13 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </tr> <tr class="altColor"> <td class="colFirst"><code>private static class </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.StreamCapabilities.html" title="class in org.apache.hadoop.hbase.util">CommonFSUtils.StreamCapabilities</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.DfsBuilderUtility.html" title="class in org.apache.hadoop.hbase.util">CommonFSUtils.DfsBuilderUtility</a></span></code> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>private static class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.StreamCapabilities.html" title="class in org.apache.hadoop.hbase.util">CommonFSUtils.StreamCapabilities</a></span></code> </td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.StreamLacksCapabilityException.html" title="class in org.apache.hadoop.hbase.util">CommonFSUtils.StreamLacksCapabilityException</a></span></code> <div class="block">Helper exception for those cases where the place where we need to check a stream capability @@ -241,6 +245,28 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </td> </tr> <tr id="i2" class="altColor"> +<td class="colFirst"><code>static org.apache.hadoop.fs.FSDataOutputStream</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">createForWal</a></span>(org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.fs.Path path, + boolean overwritable)</code> +<div class="block">Attempt to use builder API via reflection to create a file with the given parameters and + replication enabled.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>static org.apache.hadoop.fs.FSDataOutputStream</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-int-short-long-boolean-">createForWal</a></span>(org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.fs.Path path, + boolean overwritable, + int bufferSize, + short replication, + long blockSize, + boolean isRecursive)</code> +<div class="block">Attempt to use builder API via reflection to create a file with the given parameters and + replication enabled.</div> +</td> +</tr> +<tr id="i4" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#delete-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">delete</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, @@ -248,18 +274,18 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="block">Calls fs.delete() and returns the value returned by the fs.delete()</div> </td> </tr> -<tr id="i3" class="rowColor"> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#deleteDirectory-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">deleteDirectory</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir)</code> <div class="block">Delete if exists.</div> </td> </tr> -<tr id="i4" class="altColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.FileSystem</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getCurrentFileSystem-org.apache.hadoop.conf.Configuration-">getCurrentFileSystem</a></span>(org.apache.hadoop.conf.Configuration conf)</code> </td> </tr> -<tr id="i5" class="rowColor"> +<tr id="i7" class="rowColor"> <td class="colFirst"><code>static long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBlockSize-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultBlockSize</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path)</code> @@ -267,18 +293,18 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html be split into to minimize i/o time.</div> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBufferSize-org.apache.hadoop.fs.FileSystem-">getDefaultBufferSize</a></span>(org.apache.hadoop.fs.FileSystem fs)</code> <div class="block">Returns the default buffer size to use during writes.</div> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i9" class="rowColor"> <td class="colFirst"><code>static short</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultReplication-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultReplication</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path)</code> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i10" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.permission.FsPermission</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getFilePermissions-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.conf.Configuration-java.lang.String-">getFilePermissions</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, @@ -287,7 +313,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html enabled.</div> </td> </tr> -<tr id="i9" class="rowColor"> +<tr id="i11" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getNamespaceDir-org.apache.hadoop.fs.Path-java.lang.String-">getNamespaceDir</a></span>(org.apache.hadoop.fs.Path rootdir, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace)</code> @@ -295,21 +321,21 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html the namespace directory under path rootdir</div> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i12" class="altColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getPath-org.apache.hadoop.fs.Path-">getPath</a></span>(org.apache.hadoop.fs.Path p)</code> <div class="block">Return the 'path' component of a Path.</div> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDir-org.apache.hadoop.conf.Configuration-">getRootDir</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.FileSystem</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDirFileSystem-org.apache.hadoop.conf.Configuration-">getRootDirFileSystem</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableDir-org.apache.hadoop.fs.Path-org.apache.hadoop.hbase.TableName-">getTableDir</a></span>(org.apache.hadoop.fs.Path rootdir, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> @@ -317,7 +343,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html path rootdir</div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableName-org.apache.hadoop.fs.Path-">getTableName</a></span>(org.apache.hadoop.fs.Path tablePath)</code> <div class="block">Returns the <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase"><code>TableName</code></a> object representing @@ -325,15 +351,15 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html path rootdir</div> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.FileSystem</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALFileSystem-org.apache.hadoop.conf.Configuration-">getWALFileSystem</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALRootDir-org.apache.hadoop.conf.Configuration-">getWALRootDir</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i19" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#hasCapability-org.apache.hadoop.fs.FSDataOutputStream-java.lang.String-">hasCapability</a></span>(org.apache.hadoop.fs.FSDataOutputStream stream, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> capability)</code> @@ -341,63 +367,63 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html the given stream has a particular capability.</div> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i20" class="altColor"> <td class="colFirst"><code>private static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#invokeSetStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-">invokeSetStoragePolicy</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> storagePolicy)</code> </td> </tr> -<tr id="i19" class="rowColor"> +<tr id="i21" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isExists-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">isExists</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path)</code> <div class="block">Calls fs.exists().</div> </td> </tr> -<tr id="i20" class="altColor"> +<tr id="i22" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isHDFS-org.apache.hadoop.conf.Configuration-">isHDFS</a></span>(org.apache.hadoop.conf.Configuration conf)</code> </td> </tr> -<tr id="i21" class="rowColor"> +<tr id="i23" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isMatchingTail-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">isMatchingTail</a></span>(org.apache.hadoop.fs.Path pathToSearch, org.apache.hadoop.fs.Path pathTail)</code> <div class="block">Compare path component of the Path URI; e.g.</div> </td> </tr> -<tr id="i22" class="altColor"> +<tr id="i24" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isMatchingTail-org.apache.hadoop.fs.Path-java.lang.String-">isMatchingTail</a></span>(org.apache.hadoop.fs.Path pathToSearch, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pathTail)</code> <div class="block">Compare path component of the Path URI; e.g.</div> </td> </tr> -<tr id="i23" class="rowColor"> +<tr id="i25" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isRecoveredEdits-org.apache.hadoop.fs.Path-">isRecoveredEdits</a></span>(org.apache.hadoop.fs.Path path)</code> <div class="block">Checks if the given path is the one with 'recovered.edits' dir.</div> </td> </tr> -<tr id="i24" class="altColor"> +<tr id="i26" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isStartingWithPath-org.apache.hadoop.fs.Path-java.lang.String-">isStartingWithPath</a></span>(org.apache.hadoop.fs.Path rootPath, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> <div class="block">Compare of path component.</div> </td> </tr> -<tr id="i25" class="rowColor"> +<tr id="i27" class="rowColor"> <td class="colFirst"><code>private static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isValidWALRootDir-org.apache.hadoop.fs.Path-org.apache.hadoop.conf.Configuration-">isValidWALRootDir</a></span>(org.apache.hadoop.fs.Path walDir, org.apache.hadoop.conf.Configuration c)</code> </td> </tr> -<tr id="i26" class="altColor"> +<tr id="i28" class="altColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.fs.LocatedFileStatus></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listLocatedStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listLocatedStatus</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir)</code> <div class="block">Calls fs.listFiles() to get FileStatus and BlockLocations together for reducing rpc call</div> </td> </tr> -<tr id="i27" class="rowColor"> +<tr id="i29" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.FileStatus[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listStatus</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir)</code> @@ -405,7 +431,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html This would accommodates differences between hadoop versions</div> </td> </tr> -<tr id="i28" class="altColor"> +<tr id="i30" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.FileStatus[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.PathFilter-">listStatus</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir, @@ -416,7 +442,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html while Hadoop 2 will throw FileNotFoundException.</div> </td> </tr> -<tr id="i29" class="rowColor"> +<tr id="i31" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#logFileSystemState-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.slf4j.Logger-">logFileSystemState</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path root, @@ -424,7 +450,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="block">Log the current state of the filesystem from a certain root directory</div> </td> </tr> -<tr id="i30" class="altColor"> +<tr id="i32" class="altColor"> <td class="colFirst"><code>private static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#logFSTree-org.slf4j.Logger-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-">logFSTree</a></span>(org.slf4j.Logger LOG, org.apache.hadoop.fs.FileSystem fs, @@ -433,7 +459,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="block">Recursive helper to log the state of the FS</div> </td> </tr> -<tr id="i31" class="rowColor"> +<tr id="i33" class="rowColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#removeWALRootPath-org.apache.hadoop.fs.Path-org.apache.hadoop.conf.Configuration-">removeWALRootPath</a></span>(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)</code> @@ -441,23 +467,23 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html path.</div> </td> </tr> -<tr id="i32" class="altColor"> +<tr id="i34" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#renameAndSetModifyTime-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">renameAndSetModifyTime</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dest)</code> </td> </tr> -<tr id="i33" class="rowColor"> +<tr id="i35" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setFsDefault-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setFsDefault</a></span>(org.apache.hadoop.conf.Configuration c, org.apache.hadoop.fs.Path root)</code> </td> </tr> -<tr id="i34" class="altColor"> +<tr id="i36" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setRootDir</a></span>(org.apache.hadoop.conf.Configuration c, org.apache.hadoop.fs.Path root)</code> </td> </tr> -<tr id="i35" class="rowColor"> +<tr id="i37" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-">setStoragePolicy</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, @@ -465,25 +491,25 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="block">Sets storage policy for given path.</div> </td> </tr> -<tr id="i36" class="altColor"> +<tr id="i38" class="altColor"> <td class="colFirst"><code>(package private) static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-boolean-">setStoragePolicy</a></span>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> storagePolicy, boolean throwException)</code> </td> </tr> -<tr id="i37" class="rowColor"> +<tr id="i39" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setupShortCircuitRead-org.apache.hadoop.conf.Configuration-">setupShortCircuitRead</a></span>(org.apache.hadoop.conf.Configuration conf)</code> <div class="block">Do our short circuit read setup.</div> </td> </tr> -<tr id="i38" class="altColor"> +<tr id="i40" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setWALRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setWALRootDir</a></span>(org.apache.hadoop.conf.Configuration c, org.apache.hadoop.fs.Path root)</code> </td> </tr> -<tr id="i39" class="rowColor"> +<tr id="i41" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.fs.Path</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#validateRootPath-org.apache.hadoop.fs.Path-">validateRootPath</a></span>(org.apache.hadoop.fs.Path root)</code> <div class="block">Verifies root directory path is a valid URI with a scheme</div> @@ -1352,13 +1378,57 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </dl> </li> </ul> +<a name="createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createForWal</h4> +<pre>public static org.apache.hadoop.fs.FSDataOutputStream <a href="../../../../../src-html/org/apache/hadoop/hbase/util/CommonFSUtils.html#line.934">createForWal</a>(org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.fs.Path path, + boolean overwritable) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Attempt to use builder API via reflection to create a file with the given parameters and + replication enabled. + <p> + Will not attempt to enable replication when passed an HFileSystem.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> +</li> +</ul> +<a name="createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-int-short-long-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createForWal</h4> +<pre>public static org.apache.hadoop.fs.FSDataOutputStream <a href="../../../../../src-html/org/apache/hadoop/hbase/util/CommonFSUtils.html#line.945">createForWal</a>(org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.fs.Path path, + boolean overwritable, + int bufferSize, + short replication, + long blockSize, + boolean isRecursive) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Attempt to use builder API via reflection to create a file with the given parameters and + replication enabled. + <p> + Will not attempt to enable replication when passed an HFileSystem.</div> +<dl> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +</dl> +</li> +</ul> <a name="hasCapability-org.apache.hadoop.fs.FSDataOutputStream-java.lang.String-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>hasCapability</h4> -<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/CommonFSUtils.html#line.865">hasCapability</a>(org.apache.hadoop.fs.FSDataOutputStream stream, +<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/CommonFSUtils.html#line.992">hasCapability</a>(org.apache.hadoop.fs.FSDataOutputStream stream, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> capability)</pre> <div class="block">If our FileSystem version includes the StreamCapabilities class, check if the given stream has a particular capability.</div> @@ -1402,7 +1472,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/util/CollectionUtils.IOExceptionSupplier.html" title="interface in org.apache.hadoop.hbase.util"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.StreamCapabilities.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.DfsBuilderUtility.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/hadoop/hbase/util/CommonFSUtils.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e10887fe/devapidocs/org/apache/hadoop/hbase/util/FSHDFSUtils.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/util/FSHDFSUtils.html b/devapidocs/org/apache/hadoop/hbase/util/FSHDFSUtils.html index 88b4c04..9baa91b 100644 --- a/devapidocs/org/apache/hadoop/hbase/util/FSHDFSUtils.html +++ b/devapidocs/org/apache/hadoop/hbase/util/FSHDFSUtils.html @@ -297,7 +297,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/FSUtils.html" title <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html" title="class in org.apache.hadoop.hbase.util">CommonFSUtils</a></h3> -<code><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#create-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.permission.FsPermission-boolean-">create</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#delete-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">delete</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#deleteDirectory-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">deleteDirectory</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getCurrentFileSystem-org.apache.hadoop.conf.Configuration-">getCurrentFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBlockSize-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultBlockSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBufferSize-org.apache.hadoop.fs.FileSystem -">getDefaultBufferSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultReplication-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultReplication</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getFilePermissions-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.conf.Configuration-java.lang.String-">getFilePermissions</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getNamespaceDir-org.apache.hadoop.fs.Path-java.lang.String-">getNamespaceDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getPath-org.apache.hadoop.fs.Path-">getPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDir-org.apache.hadoop.conf.Configuration-">getRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDirFileSystem-org.apache.hadoop.conf.Configuration-">getRootDirFileSystem</a>, <a href="../. ./../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableDir-org.apache.hadoop.fs.Path-org.apache.hadoop.hbase.TableName-">getTableDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableName-org.apache.hadoop.fs.Path-">getTableName</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALFileSystem-org.apache.hadoop.conf.Configuration-">getWALFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALRootDir-org.apache.hadoop.conf.Configuration-">getWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#hasCapability-org.apache.hadoop.fs.FSDataOutputStream-java.lang.String-">hasCapability</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isExists-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">isExists</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isHDFS-org.apache.hadoop.conf.C onfiguration-">isHDFS</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isMatchingTail-org.apache.hadoop.fs.Path-java.lang.String-">isMatchingTail</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isRecoveredEdits-org.apache.hadoop.fs.Path-">isRecoveredEdits</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isStartingWithPath-org.apache.hadoop.fs.Path-java.lang.String-">isStartingWithPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listLocatedStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listLocatedStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.PathFilter-">listStatus</ a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#logFileSystemState-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.slf4j.Logger-">logFileSystemState</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#removeWALRootPath-org.apache.hadoop.fs.Path-org.apache.hadoop.conf.Configuration-">removeWALRootPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#renameAndSetModifyTime-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">renameAndSetModifyTime</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setFsDefault-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setFsDefault</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStorage Policy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-boolean-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setWALRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#validateRootPath-org.apache.hadoop.fs.Path-">validateRootPath</a></code></li> +<code><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#create-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.permission.FsPermission-boolean-">create</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">createForWal</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-int-short-long-boolean-">createForWal</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#delete-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">delete</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#deleteDirectory-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">deleteDirectory</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getCurrentFileSystem-o rg.apache.hadoop.conf.Configuration-">getCurrentFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBlockSize-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultBlockSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBufferSize-org.apache.hadoop.fs.FileSystem-">getDefaultBufferSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultReplication-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultReplication</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getFilePermissions-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.conf.Configuration-java.lang.String-">getFilePermissions</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getNamespaceDir-org.apache.hadoop.fs.Path-java.lang.String-">getNamespaceDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtil s.html#getPath-org.apache.hadoop.fs.Path-">getPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDir-org.apache.hadoop.conf.Configuration-">getRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDirFileSystem-org.apache.hadoop.conf.Configuration-">getRootDirFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableDir-org.apache.hadoop.fs.Path-org.apache.hadoop.hbase.TableName-">getTableDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableName-org.apache.hadoop.fs.Path-">getTableName</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALFileSystem-org.apache.hadoop.conf.Configuration-">getWALFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALRootDir-org.apache.hadoop.conf.Configuration-">getWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/Comm onFSUtils.html#hasCapability-org.apache.hadoop.fs.FSDataOutputStream-java.lang.String-">hasCapability</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isExists-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">isExists</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isHDFS-org.apache.hadoop.conf.Configuration-">isHDFS</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isMatchingTail-org.apache.hadoop.fs.Path-java.lang.String-">isMatchingTail</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isRecoveredEdits-org.apache.hadoop.fs.Path-">isRecoveredEdits</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isStartingWithPath-org.apache.hadoop.fs.Path-java.lang.String-">isStartingWithPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listLocatedStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">list LocatedStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.PathFilter-">listStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#logFileSystemState-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.slf4j.Logger-">logFileSystemState</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#removeWALRootPath-org.apache.hadoop.fs.Path-org.apache.hadoop.conf.Configuration-">removeWALRootPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#renameAndSetModifyTime-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">renameAndSetModifyTime</a>, <a href="../../../../../org/apache/hadoop/hbase/u til/CommonFSUtils.html#setFsDefault-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setFsDefault</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-boolean-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setWALRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#validateRootPath-org.apache.hadoop.fs.Path-">validateRootPath</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e10887fe/devapidocs/org/apache/hadoop/hbase/util/FSUtils.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/util/FSUtils.html b/devapidocs/org/apache/hadoop/hbase/util/FSUtils.html index fe5df87..8b435ff 100644 --- a/devapidocs/org/apache/hadoop/hbase/util/FSUtils.html +++ b/devapidocs/org/apache/hadoop/hbase/util/FSUtils.html @@ -684,7 +684,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html" <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html" title="class in org.apache.hadoop.hbase.util">CommonFSUtils</a></h3> -<code><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#create-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.permission.FsPermission-boolean-">create</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#delete-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">delete</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#deleteDirectory-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">deleteDirectory</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getCurrentFileSystem-org.apache.hadoop.conf.Configuration-">getCurrentFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBlockSize-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultBlockSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBufferSize-org.apache.hadoop.fs.FileSystem -">getDefaultBufferSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultReplication-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultReplication</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getFilePermissions-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.conf.Configuration-java.lang.String-">getFilePermissions</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getNamespaceDir-org.apache.hadoop.fs.Path-java.lang.String-">getNamespaceDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getPath-org.apache.hadoop.fs.Path-">getPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDir-org.apache.hadoop.conf.Configuration-">getRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDirFileSystem-org.apache.hadoop.conf.Configuration-">getRootDirFileSystem</a>, <a href="../. ./../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableDir-org.apache.hadoop.fs.Path-org.apache.hadoop.hbase.TableName-">getTableDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableName-org.apache.hadoop.fs.Path-">getTableName</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALFileSystem-org.apache.hadoop.conf.Configuration-">getWALFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALRootDir-org.apache.hadoop.conf.Configuration-">getWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#hasCapability-org.apache.hadoop.fs.FSDataOutputStream-java.lang.String-">hasCapability</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isExists-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">isExists</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isHDFS-org.apache.hadoop.conf.C onfiguration-">isHDFS</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isMatchingTail-org.apache.hadoop.fs.Path-java.lang.String-">isMatchingTail</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isRecoveredEdits-org.apache.hadoop.fs.Path-">isRecoveredEdits</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isStartingWithPath-org.apache.hadoop.fs.Path-java.lang.String-">isStartingWithPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listLocatedStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listLocatedStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.PathFilter-">listStatus</ a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#logFileSystemState-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.slf4j.Logger-">logFileSystemState</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#removeWALRootPath-org.apache.hadoop.fs.Path-org.apache.hadoop.conf.Configuration-">removeWALRootPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#renameAndSetModifyTime-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">renameAndSetModifyTime</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setFsDefault-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setFsDefault</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStorage Policy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-boolean-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setWALRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#validateRootPath-org.apache.hadoop.fs.Path-">validateRootPath</a></code></li> +<code><a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#create-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.permission.FsPermission-boolean-">create</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">createForWal</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#createForWal-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-int-short-long-boolean-">createForWal</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#delete-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-boolean-">delete</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#deleteDirectory-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">deleteDirectory</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getCurrentFileSystem-o rg.apache.hadoop.conf.Configuration-">getCurrentFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBlockSize-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultBlockSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultBufferSize-org.apache.hadoop.fs.FileSystem-">getDefaultBufferSize</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getDefaultReplication-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">getDefaultReplication</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getFilePermissions-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.conf.Configuration-java.lang.String-">getFilePermissions</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getNamespaceDir-org.apache.hadoop.fs.Path-java.lang.String-">getNamespaceDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtil s.html#getPath-org.apache.hadoop.fs.Path-">getPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDir-org.apache.hadoop.conf.Configuration-">getRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getRootDirFileSystem-org.apache.hadoop.conf.Configuration-">getRootDirFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableDir-org.apache.hadoop.fs.Path-org.apache.hadoop.hbase.TableName-">getTableDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getTableName-org.apache.hadoop.fs.Path-">getTableName</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALFileSystem-org.apache.hadoop.conf.Configuration-">getWALFileSystem</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#getWALRootDir-org.apache.hadoop.conf.Configuration-">getWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/Comm onFSUtils.html#hasCapability-org.apache.hadoop.fs.FSDataOutputStream-java.lang.String-">hasCapability</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isExists-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">isExists</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isHDFS-org.apache.hadoop.conf.Configuration-">isHDFS</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isMatchingTail-org.apache.hadoop.fs.Path-java.lang.String-">isMatchingTail</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isRecoveredEdits-org.apache.hadoop.fs.Path-">isRecoveredEdits</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#isStartingWithPath-org.apache.hadoop.fs.Path-java.lang.String-">isStartingWithPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listLocatedStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">list LocatedStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">listStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#listStatus-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.PathFilter-">listStatus</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#logFileSystemState-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.slf4j.Logger-">logFileSystemState</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#removeWALRootPath-org.apache.hadoop.fs.Path-org.apache.hadoop.conf.Configuration-">removeWALRootPath</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#renameAndSetModifyTime-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-">renameAndSetModifyTime</a>, <a href="../../../../../org/apache/hadoop/hbase/u til/CommonFSUtils.html#setFsDefault-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setFsDefault</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setStoragePolicy-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-boolean-">setStoragePolicy</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#setWALRootDir-org.apache.hadoop.conf.Configuration-org.apache.hadoop.fs.Path-">setWALRootDir</a>, <a href="../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.html#validateRootPath-org.apache.hadoop.fs.Path-">validateRootPath</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e10887fe/devapidocs/org/apache/hadoop/hbase/util/class-use/CommonFSUtils.DfsBuilderUtility.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/util/class-use/CommonFSUtils.DfsBuilderUtility.html b/devapidocs/org/apache/hadoop/hbase/util/class-use/CommonFSUtils.DfsBuilderUtility.html new file mode 100644 index 0000000..cd0d7e1 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/util/class-use/CommonFSUtils.DfsBuilderUtility.html @@ -0,0 +1,125 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Uses of Class org.apache.hadoop.hbase.util.CommonFSUtils.DfsBuilderUtility (Apache HBase 3.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Class org.apache.hadoop.hbase.util.CommonFSUtils.DfsBuilderUtility (Apache HBase 3.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.DfsBuilderUtility.html" title="class in org.apache.hadoop.hbase.util">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../../../../../../overview-tree.html">Tree</a></li> +<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/util/class-use/CommonFSUtils.DfsBuilderUtility.html" target="_top">Frames</a></li> +<li><a href="CommonFSUtils.DfsBuilderUtility.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h2 title="Uses of Class org.apache.hadoop.hbase.util.CommonFSUtils.DfsBuilderUtility" class="title">Uses of Class<br>org.apache.hadoop.hbase.util.CommonFSUtils.DfsBuilderUtility</h2> +</div> +<div class="classUseContainer">No usage of org.apache.hadoop.hbase.util.CommonFSUtils.DfsBuilderUtility</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/util/CommonFSUtils.DfsBuilderUtility.html" title="class in org.apache.hadoop.hbase.util">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../../../../../../overview-tree.html">Tree</a></li> +<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/util/class-use/CommonFSUtils.DfsBuilderUtility.html" target="_top">Frames</a></li> +<li><a href="CommonFSUtils.DfsBuilderUtility.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2007–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e10887fe/devapidocs/org/apache/hadoop/hbase/util/package-frame.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/util/package-frame.html b/devapidocs/org/apache/hadoop/hbase/util/package-frame.html index ab3cdc3..ac55ac3 100644 --- a/devapidocs/org/apache/hadoop/hbase/util/package-frame.html +++ b/devapidocs/org/apache/hadoop/hbase/util/package-frame.html @@ -81,6 +81,7 @@ <li><a href="CollectionBackedScanner.html" title="class in org.apache.hadoop.hbase.util" target="classFrame">CollectionBackedScanner</a></li> <li><a href="CollectionUtils.html" title="class in org.apache.hadoop.hbase.util" target="classFrame">CollectionUtils</a></li> <li><a href="CommonFSUtils.html" title="class in org.apache.hadoop.hbase.util" target="classFrame">CommonFSUtils</a></li> +<li><a href="CommonFSUtils.DfsBuilderUtility.html" title="class in org.apache.hadoop.hbase.util" target="classFrame">CommonFSUtils.DfsBuilderUtility</a></li> <li><a href="CommonFSUtils.StreamCapabilities.html" title="class in org.apache.hadoop.hbase.util" target="classFrame">CommonFSUtils.StreamCapabilities</a></li> <li><a href="CompressionTest.html" title="class in org.apache.hadoop.hbase.util" target="classFrame">CompressionTest</a></li> <li><a href="ConcatenatedLists.html" title="class in org.apache.hadoop.hbase.util" target="classFrame">ConcatenatedLists</a></li>