Codota Logo
VolumeScanner.setName
Code IndexAdd Codota to your IDE (free)

How to use
setName
method
in
org.apache.hadoop.hdfs.server.datanode.VolumeScanner

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.VolumeScanner.setName (Showing top 3 results out of 315)

  • Common ways to obtain VolumeScanner
private void myMethod () {
VolumeScanner v =
  • Codota IconTreeMap treeMap;Object key;treeMap.get(key)
  • Codota IconTreeMap treeMap;FsVolumeSpi fsVolumeSpi;treeMap.get(fsVolumeSpi.getStorageID())
  • Smart code suggestions by Codota
}
origin: org.apache.hadoop/hadoop-hdfs

VolumeScanner(Conf conf, DataNode datanode, FsVolumeReference ref) {
 this.conf = conf;
 this.datanode = datanode;
 this.metrics = datanode.getMetrics();
 this.ref = ref;
 this.volume = ref.getVolume();
 ScanResultHandler handler;
 try {
  handler = conf.resultHandler.newInstance();
 } catch (Throwable e) {
  LOG.error("unable to instantiate {}", conf.resultHandler, e);
  handler = new ScanResultHandler();
 }
 this.resultHandler = handler;
 setName("VolumeScannerThread(" + volume + ")");
 setDaemon(true);
}
origin: ch.cern.hadoop/hadoop-hdfs

VolumeScanner(Conf conf, DataNode datanode, FsVolumeReference ref) {
 this.conf = conf;
 this.datanode = datanode;
 this.ref = ref;
 this.volume = ref.getVolume();
 ScanResultHandler handler;
 try {
  handler = conf.resultHandler.newInstance();
 } catch (Throwable e) {
  LOG.error("unable to instantiate {}", conf.resultHandler, e);
  handler = new ScanResultHandler();
 }
 this.resultHandler = handler;
 setName("VolumeScannerThread(" + volume.getBasePath() + ")");
 setDaemon(true);
}
origin: io.prestosql.hadoop/hadoop-apache

VolumeScanner(Conf conf, DataNode datanode, FsVolumeReference ref) {
 this.conf = conf;
 this.datanode = datanode;
 this.ref = ref;
 this.volume = ref.getVolume();
 ScanResultHandler handler;
 try {
  handler = conf.resultHandler.newInstance();
 } catch (Throwable e) {
  LOG.error("unable to instantiate {}", conf.resultHandler, e);
  handler = new ScanResultHandler();
 }
 this.resultHandler = handler;
 setName("VolumeScannerThread(" + volume.getBasePath() + ")");
 setDaemon(true);
}
org.apache.hadoop.hdfs.server.datanodeVolumeScannersetName

Popular methods of VolumeScanner

  • calculateShouldScan
  • <init>
  • disableBlockPoolId
    Disallow the scanner from scanning the given block pool.
  • enableBlockPoolId
    Allow the scanner to scan the given block pool.
  • expireOldScannedBytesRecords
  • findNextUsableBlockIter
    Find a usable block iterator. We will consider available block iterators in order. This property is
  • getStatistics
  • interrupt
  • markSuspectBlock
  • popNextSuspectBlock
    If there are elements in the suspectBlocks list, removes and returns the first one. Otherwise, retur
  • positiveMsToHours
  • printStats
  • positiveMsToHours,
  • printStats,
  • runLoop,
  • saveBlockIterator,
  • scanBlock,
  • setConf,
  • setDaemon,
  • shutdown,
  • start

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Kernel (java.awt.image)
  • Path (java.nio.file)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now