Tabnine Logo
BlockReceiver.checksum2long
Code IndexAdd Tabnine to your IDE (free)

How to use
checksum2long
method
in
org.apache.hadoop.hdfs.server.datanode.BlockReceiver

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

origin: org.apache.hadoop/hadoop-hdfs

if (partialCrc.getValue() != checksum2long(crcbuf)) {
 String msg = "Partial CRC " + partialCrc.getValue() +
        " does not match value computed the " +
        " last time file was closed " +
        checksum2long(crcbuf);
 throw new IOException(msg);
origin: ch.cern.hadoop/hadoop-hdfs

if (partialCrc.getValue() != checksum2long(crcbuf)) {
 String msg = "Partial CRC " + partialCrc.getValue() +
        " does not match value computed the " +
        " last time file was closed " +
        checksum2long(crcbuf);
 throw new IOException(msg);
origin: io.prestosql.hadoop/hadoop-apache

if (partialCrc.getValue() != checksum2long(crcbuf)) {
 String msg = "Partial CRC " + partialCrc.getValue() +
        " does not match value computed the " +
        " last time file was closed " +
        checksum2long(crcbuf);
 throw new IOException(msg);
org.apache.hadoop.hdfs.server.datanodeBlockReceiverchecksum2long

Javadoc

Convert a checksum byte array to a long

Popular methods of BlockReceiver

  • <init>
  • cleanupBlock
    Cleanup a partial block if this write is for a replication request (and not from a client)
  • close
    close files and release volume reference.
  • computePartialChunkCrc
    reads in the partial crc chunk and computes checksum of pre-existing data in partial chunk.
  • handleMirrorOutError
    While writing to mirrorOut, failure to write to mirror should not affect this datanode unless it is
  • receiveBlock
  • receivePacket
    Receives and processes a packet. It can contain many chunks. returns the number of data bytes that t
  • verifyChunks
    Verify multiple CRC chunks.
  • adjustCrcFilePosition
    Adjust the file pointer in the local meta file so that the last checksum will be overwritten.
  • claimReplicaHandler
    The caller claims the ownership of the replica handler.
  • copyLastChunkChecksum
  • flushOrSync
    Flush block data and metadata files to disk.
  • copyLastChunkChecksum,
  • flushOrSync,
  • getReplica,
  • manageWriterOsCache,
  • packetSentInTime,
  • sendOOB,
  • setLastSentTime,
  • shouldVerifyChecksum,
  • translateChunks

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Sublime Text 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