Home | About | Sematext search-lucene.com search-hadoop.com
 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