Tabnine Logo
BlockPlacementPolicyDefault.chooseFromNextRack
Code IndexAdd Tabnine to your IDE (free)

How to use
chooseFromNextRack
method
in
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault

Best Java code snippets using org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.chooseFromNextRack (Showing top 3 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

   + nextNode.getNetworkLocation() + ")", e);
return chooseFromNextRack(nextNode, excludedNodes, blocksize,
  maxNodesPerRack, results, avoidStaleNodes, storageTypes);
origin: ch.cern.hadoop/hadoop-hdfs

   + nextNode.getNetworkLocation() + ")", e);
return chooseFromNextRack(nextNode, excludedNodes, blocksize,
  maxNodesPerRack, results, avoidStaleNodes, storageTypes);
origin: io.prestosql.hadoop/hadoop-apache

   + nextNode.getNetworkLocation() + ")", e);
return chooseFromNextRack(nextNode, excludedNodes, blocksize,
  maxNodesPerRack, results, avoidStaleNodes, storageTypes);
org.apache.hadoop.hdfs.server.blockmanagementBlockPlacementPolicyDefaultchooseFromNextRack

Popular methods of BlockPlacementPolicyDefault

  • chooseReplicaToDelete
    Decide whether deleting the specified replica of the block still makes the block conform to the conf
  • chooseTarget
  • useDelHint
    Check if we can use delHint.
  • addToExcludedNodes
    Add localMachine and related nodes to excludedNodes for next replica choosing. In sub class, we can
  • adjustSetsWithChosenReplica
  • chooseDataNode
    Choose a datanode from the given scope with specified storage type.
  • chooseLocalRack
    Choose one node from the rack that localMachine is on. if no such node is available, choose one node
  • chooseLocalStorage
    Choose localMachine as the target. if localMachine is not available, choose a node on the same rack
  • chooseRandom
    Randomly choose numOfReplicas targets from the given scope.
  • chooseRemoteRack
    Choose numOfReplicas nodes from the racks that localMachine is NOT on. if not enough nodes are avail
  • getMaxNodesPerRack
    Calculate the maximum number of replicas to allocate per rack. It also limits the total number of re
  • getPipeline
    Return a pipeline of nodes. The pipeline is formed finding a shortest path that starts from the writ
  • getMaxNodesPerRack,
  • getPipeline,
  • getRequiredStorageTypes,
  • initialize,
  • logNodeIsNotChosen,
  • pickupReplicaSet,
  • splitNodesWithRack,
  • addIfIsGoodTarget,
  • isGoodTarget

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • From CI to AI: The AI layer in your organization
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