Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 26, 2012
  1. optimize: logic for unwrap InvocationTargetException

    jiwan authored
    get realtime statistic for cluster info
    optimize addStoredBlock(): add isInvokedByBlockReport parameter, if invoked by blockReceive, no need to check bad block
    optimize: change ioexception to throwable for many code, so handler of exception can get the origin cause
    optimize distributed shell: use hdfs-*.xml instead of distributed-server-*.xml
    fix bug of lease RecoverOne
    change blockSize of BlockEntry for -1 to 0
    fix bug of rename
    fix NPE for DistributedClient
    fix bug of append
    leaseRecoveryTime should be 0 when completing file
    add benchmark tool
    optimize DFSClient: when set distributed.client.enabled=false use orginal rpc to namenode
    optimize BlockEntry: toString add length for every block
    optimize DistributedClient.invoke(...): when client is closed, no need to retry
    fix bug: lease.holder length is too small for lease table
    fix bug: in commitBlockSynchronization of fsnamesystem, fill an error id for stateManager.findFileById(...):blockEntry.getFileId()<=lastblock.getBlockId()
Commits on Jun 12, 2012
  1. modify unit case TestFileAppend3

    jiwan authored
    modify minicluster: stop zookeeper
    optimize logic for zookeeper client: close zookeeper when client exit; avoid closing other client's ZookeeperClientManager in same process, use a new instance of ZookeeperClientManager for each ZookeeperClientRetry
    adjust format for MysqlServerController.getMysqlLibPath(String mysqlBinPath)
    optimize internalReleaseLeaseOne:delete blocks who are allocated and have not been received from data nodes(for testcase)
    fix bug for getBlockLocation and recoverLease
    modify the mothod that how to get mysql lib path
    fix DistributedLeaseThread bug : cannot be closen by itself
    modify TestFileCreationDelete
    add loop for lease check thread
    optimize lock for file level lock
    close fs when namenode stop
    optimize DistributedOperationQueue
Commits on Jun 6, 2012
  1. modify monicluster, add zookeeper start and stop operation

    jiwan authored
    modify TestCreation case
    add file lock for write operation
    modify test case testFileCreationNonRecursive
    fix: throw exception when close a file with no block allocated
    modify test case testFileCreationNonRecursive
    optimize default configuration for zoo.cfg:maxClientCnxns=300
    FSNamesystem:delete adjust
    delete Minicluster two Exception
    modify TestCreation
    add old markBlockAsCorrupt(Block blk, DatanodeInfo dn) method(empty function) for test
    comment of getBlocks(dn,size) is error:called by balancer not by snn
    fix: BlockEntry.getTotalLength(...) should not be added to total length when block size is -1
    fix: FSNamesystem.getListig(...) should return null when src is not existed
    add setLeasePeriod() for stateManager
Commits on Jun 1, 2012
  1. optimize client log info for distributedClient

    jiwan authored
    drop metric logic of distributed server, reuse metric of hdfs
    optimize DistributedClient.waitMaster(), initialize will wait even master is broken
  2. fix NPE for DistributedClient.updateServers(): newMasterStatus is null

    jiwan authored
    optmize DistributedOperationQueueTest.generateOperation()
    initilize id from a random long to the hashcode of content for ExampleData
Commits on May 31, 2012
  1. remove synchronized for close: otherwise it will dead lock: close has…

    jiwan authored
    … get the lock and leaseThread is wait updateServers and the isClosed cannnt be processed
    add test case to improve no resource cycle leading dead lock
    change HashSet into LinkedHashSet to keep insert order
    add detailed comment about method testOperationQueue()
Commits on May 30, 2012
  1. add multi-thread situation

    jiwan authored
    modify some method to unit test
    add operand key info in the method toString()
  2. format adjust for github view

    jiwan authored
  3. format adjust for github view

    jiwan authored
  4. format adjust for github view

    jiwan authored
  5. format adjust for github view

    jiwan authored
  6. add all files again

    jiwan authored
  7. clear all

    jiwan authored
  8. add all files again

    jiwan authored
  9. clear all datas

    jiwan authored
  10. add contruction method for ExampleData; Namenode.stop:stop distribute…

    jiwan authored
    …dServer; delete unnecessary files
  11. 加入路线图,jpg格式

    jiwan authored
Commits on May 25, 2012
  1. add ADFS-Road-Map.pptx

    jiwan authored
Commits on Apr 17, 2012
  1. performance test of api result

    xiangdong.hl authored
Commits on Apr 5, 2012
  1. add image files

    genie.yjd authored
  2. first commit

    xiangdong.hl authored
Something went wrong with that request. Please try again.