[ https://issues.apache.org/jira/browse/TRAFODION-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065020#comment-16065020 ]
ASF GitHub Bot commented on TRAFODION-2654: ------------------------------------------- Github user prashanth-vasudev commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/1143#discussion_r124314337 --- Diff: core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/coprocessor/transactional/TrxRegionEndpoint.java.tmpl --- @@ -4015,6 +4015,25 @@ CoprocessorService, Coprocessor { if (LOG.isTraceEnabled()) LOG.trace("Trafodion Recovery: region " + m_regionDetails + " is STARTED."); } + public static void WALSync(WAL wal, long transactionId, long txid) throws IOException + { + try { + if (txid == 0) + wal.sync(); + else + wal.sync(txid); + } catch (IOException wale) { + wale.fillInStackTrace(); + LOG.error("commitRequest txId: " + transactionId + " HLog seq " + txid + " Caught IOException in HLOG sync ", wale ); + try { + Thread.sleep(1000); ///1000 milliseconds is one second. --- End diff -- Why thread.sleep if IO exception? > Change the location of trafodion-site.xml from $TRAF_HOME/etc to config > ----------------------------------------------------------------------- > > Key: TRAFODION-2654 > URL: https://issues.apache.org/jira/browse/TRAFODION-2654 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-exe > Affects Versions: 2.2-incubating > Reporter: Selvaganesan Govindarajan > Assignee: Selvaganesan Govindarajan > Fix For: 2.2-incubating > > > Conf directory needs to be used from any configuration. conf directory is > used for log4j and log4cxx configuration. -- This message was sent by Atlassian JIRA (v6.4.14#64029)