Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # dev >> A question for txid


Copy link to this message
-
A question for txid
Hi dear All,

It's long type for the txid currently,

FSImage.java:

boolean loadFSImage(FSNamesystem target, MetaRecoveryContext recovery)
    throws IOException{

  editLog.setNextTxId(lastAppliedTxId + 1L);
}

Is it possible that (lastAppliedTxId + 1L) exceed Long.MAX_VALUE ?
+
Harsh J 2013-06-25, 13:14
+
Todd Lipcon 2013-06-25, 14:51
+
Azuryy Yu 2013-06-25, 15:45
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB