hdfsReadCompleteFile :: Config -> Path -> IO TL.Text
hdfsReadCompleteFile config path =
  forRegularFilePath config path $ \thriftPath fileSize ->
    withThriftChannelsForRead config (
      \channels -> withThriftHandleForReading channels thriftPath (
        \thriftHandle -> C.read channels thriftHandle 0 (fromIntegral fileSize) -- TODO: unchecked conversion Int64 to Int32
        ))
hdfsReadCompleteFile :: Config -> Path -> IO TL.Text
hdfsReadCompleteFile config path =
  forRegularFilePath config path $ \thriftPath fileSize ->
    withThriftChannelsForRead config (
      \channels -> withThriftHandleForReading channels thriftPath (
        \thriftHandle -> C.read channels thriftHandle 0 (fromIntegral fileSize) -- TODO: unchecked conversion Int64 to Int32
        ))
hdfsReadCompleteFile config path =
  forRegularFilePath config path $ \thriftPath fileSize ->
    withThriftChannelsForRead config (
      \channels -> withThriftHandleForReading channels thriftPath (
        \thriftHandle -> C.read channels thriftHandle 0 (fromIntegral fileSize) -- TODO: unchecked conversion Int64 to Int32
        ))