You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the following command to start a tensorflow job. It works well. However, the tensor board could not refresh automatically unless restart the tensor board server.
@aselle, @jhseu, @danmane, I think the reason is that when a HDFS file writing, its length got by listStatus/getFileStatus from Namenode will not be updated until the block completed or the file created with SyncFlag.UPDATE_LENGTH. But the new data flushed from OutputStream will be available to read for new InputStream. A workaround is to reopen the inputstream repeatedly, like the implementation of HBase replication.
Also note that the file size still doesn't update when listing the directory, but the new contents are available for reading and show up on tensorboard.
Environment
https://github.com/tensorflow/ecosystem/blob/master/docker/Dockerfile.hdfs
I use the following command to start a tensorflow job. It works well. However, the tensor board could not refresh automatically unless restart the tensor board server.
BTW, i find the file size of event file on HDFS does not update. Although, the content has changed. Is this the reason?
The text was updated successfully, but these errors were encountered: