Tabnine Logo
UnderFileSystemUtils.isLocal
Code IndexAdd Tabnine to your IDE (free)

How to use
isLocal
method
in
alluxio.util.UnderFileSystemUtils

Best Java code snippets using alluxio.util.UnderFileSystemUtils.isLocal (Showing top 1 results out of 315)

origin: Alluxio/alluxio

@Test
public void createNoParent() throws IOException {
 // Run the test only for local UFS. Other UFSs succeed if no parents are present
 Assume.assumeTrue(UnderFileSystemUtils.isLocal(mUfs));
 mThrown.expect(IOException.class);
 String testFile = PathUtils.concatPath(mUnderfsAddress, "createNoParent/testFile");
 OutputStream o = mUfs.create(testFile, CreateOptions.defaults(mConfiguration)
   .setCreateParent(false));
 o.close();
}
alluxio.utilUnderFileSystemUtilsisLocal

Popular methods of UnderFileSystemUtils

  • getBucketName
  • approximateContentHash
    Returns an approximate content hash, using the length and modification time.
  • deleteFileIfExists
    Deletes the specified path from the specified under file system if it is a file and exists.
  • isHdfs
  • touch
    Creates an empty file.
  • deleteDirIfExists
    Deletes the directory at the given path if it exists.
  • mkdirIfNotExists
    Attempts to create the directory if it does not already exist.

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JTable (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now