Gian,
Thank you for clarifying this part, as you mentioned, I have modified the code to generate timestamps with offset information and it works perfect, the issue of historical unable to notify peons about successful segment upload is still appearing. Right now everything is in MST timezone (Overlord, Peon, MMs, Historicals, Coordinator), a sample peon log is as below :-
"2015-02-24 20:49:57,334 INFO [ServerInventoryView-0] io.druid.curator.inventory.CuratorInventoryManager - CHILD_ADDED[vidmessage_2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00_2015-02-24T19:00:06.899-07:00_6] with version[0]
2015-02-24 20:49:57,435 INFO [ServerInventoryView-0] io.druid.curator.inventory.CuratorInventoryManager - CHILD_ADDED[vidmessage_2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00_2015-02-24T19:00:06.899-07:00_9] with version[0]
2015-02-24 20:49:58,939 INFO [ServerInventoryView-0] io.druid.curator.inventory.CuratorInventoryManager - CHILD_ADDED[vidmessage_2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00_2015-02-24T19:00:06.899-07:00_4] with version[0]
2015-02-24 20:49:59,151 INFO [ServerInventoryView-0] io.druid.curator.inventory.CuratorInventoryManager - CHILD_ADDED[vidmessage_2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00_2015-02-24T19:00:06.899-07:00_7] with version[0]
2015-02-24 20:50:00,564 INFO [ServerInventoryView-0] io.druid.curator.inventory.CuratorInventoryManager - CHILD_ADDED[vidmessage_2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00_2015-02-24T19:00:06.899-07:00_2] with version[0]"
This is the log for peon that created segment for 19th hour (MST),
This is the log for peon while persisting segment to hdfs :-
2015-02-24 20:16:45,673 INFO [VidMessage-2015-02-24T19:00:00.000-07:00-persist-n-merge] io.druid.utils.CompressionUtils - Adding file[/home/appmon/druid/persistent/task/index_realtime_VidMessage_2015-02-24T19:00:00.000-07:00_0_0_jbkngfcg/work/persist/VidMessage/2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00/merged/meta.smoosh] with size[290]. Total size so far[0]
2015-02-24 20:16:45,674 INFO [VidMessage-2015-02-24T19:00:00.000-07:00-persist-n-merge] io.druid.utils.CompressionUtils - Adding file[/home/appmon/druid/persistent/task/index_realtime_VidMessage_2015-02-24T19:00:00.000-07:00_0_0_jbkngfcg/work/persist/VidMessage/2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00/merged/version.bin] with size[4]. Total size so far[290]
2015-02-24 20:16:45,674 INFO [VidMessage-2015-02-24T19:00:00.000-07:00-persist-n-merge] io.druid.utils.CompressionUtils - Adding file[/home/appmon/druid/persistent/task/index_realtime_VidMessage_2015-02-24T19:00:00.000-07:00_0_0_jbkngfcg/work/persist/VidMessage/2015-02-24T19:00:00.000-07:00_2015-02-24T20:00:00.000-07:00/merged/00000.smoosh] with size[170,947,864]. Total size so far[294]
2015-02-24 20:17:04,129 INFO [VidMessage-2015-02-24T19:00:00.000-07:00-persist-n-merge] io.druid.storage.hdfs.HdfsDataSegmentPusher - Creating descriptor file at[hdfs://10.86.184.26:54310/druid/segments/vidmessage/20150224T190000.000-0700_20150224T200000.000-0700/2015-02-24T19_00_06.899-07_00/0/descriptor.json]
2015-02-24 20:17:04,140 INFO [VidMessage-2015-02-24T19:00:00.000-07:00-persist-n-merge] io.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[index_realtime_VidMessage_2015-02-24T19:00:00.000-07:00_0_0_jbkngfcg]: SegmentInsertAction{segments=[DataSegment{size=170948158, shardSpec=LinearShardSpec{partitionNum=0}, metrics=[xCount], dimensions=[colo, duration, machine, pool, status, type, typename], version='2015-02-24T19:00:06.899-07:00', loadSpec={type=hdfs, path=hdfs://10.86.184.26:54310/druid/segments/vidmessage/20150224T190000.000-0700_20150224T200000.000-0700/2015-02-24T19_00_06.899-07_00/0/index.zip}, interval=2015-02-24T19:00:00.000-07:00/2015-02-24T20:00:00.000-07:00, dataSource='vidmessage', binaryVersion='9'}]}
2015-02-24 20:17:04,144 INFO [VidMessage-2015-02-24T19:00:00.000-07:00-persist-n-merge] io.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[index_realtime_VidMessage_2015-02-24T19:00:00.000-07:00_0_0_jbkngfcg] to overlord[http://phxscal1109:8087/druid/indexer/v1/action]: SegmentInsertAction{segments=[DataSegment{size=170948158, shardSpec=LinearShardSpec{partitionNum=0}, metrics=[xCount], dimensions=[colo, duration, machine, pool, status, type, typename], version='2015-02-24T19:00:06.899-07:00', loadSpec={type=hdfs, path=hdfs://10.86.184.26:54310/druid/segments/vidmessage/20150224T190000.000-0700_20150224T200000.000-0700/2015-02-24T19_00_06.899-07_00/0/index.zip}, interval=2015-02-24T19:00:00.000-07:00/2015-02-24T20:00:00.000-07:00, dataSource='vidmessage', binaryVersion='9'}]}"
Please have a look if there is an issue