Skip to content

Commit 453f436

Browse files
author
Nishchay P
committed
Don't Write Scribe_stats file even when the setting contains to write it, since append is disabled in HDFS
1 parent c395db6 commit 453f436

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

debian_hdfs/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
scribe-server-hdfs-orig (0.2.4-1) lucid; urgency=low
2+
3+
* Don't Write Scribe_stats file even when the setting contains to write it, since append is disabled in HDFS
4+
5+
-- Platform Engineering <[email protected]> Wed, 25 Jul 2012 17:57:45 +0530
6+
17
scribe-server-hdfs-orig (0.2.3-1) lucid; urgency=low
28

39
* change flush to HFlush which calls sync for hadoop to flush all changes to disk at max_write_size intervals

src/store.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ void FileStoreBase::printStats() {
542542
return;
543543
}
544544

545-
time_t rawtime = time(NULL);
545+
/*time_t rawtime = time(NULL);
546546
struct tm timeinfo;
547547
localtime_r(&rawtime, &timeinfo);
548548
@@ -556,7 +556,7 @@ void FileStoreBase::printStats() {
556556
msg << " wrote <" << currentSize << "> bytes in <" << eventsWritten
557557
<< "> events to file <" << currentFilename << ">" << endl;
558558
559-
stats_file->write(msg.str());
559+
stats_file->write(msg.str());*/
560560
stats_file->close();
561561
}
562562

0 commit comments

Comments
 (0)