Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hdfs-util.h File Reference
#include <string>
#include <hdfs.h>
#include "common/status.h"
Include dependency graph for hdfs-util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 impala
 This file contains type definitions that are used throughout the code base.
 

Functions

std::string impala::GetHdfsErrorMsg (const std::string &prefix, const std::string &file="")
 
Status impala::GetFileSize (const hdfsFS &connection, const char *filename, int64_t *filesize)
 Return the size, in bytes, of a file from the hdfs connection. More...
 
Status impala::GetLastModificationTime (const hdfsFS &connection, const char *filename, time_t *last_mod_time)
 
bool impala::IsHiddenFile (const std::string &filename)
 
Status impala::CopyHdfsFile (const hdfsFS &src_conn, const std::string &src_path, const hdfsFS &dst_conn, const std::string &dst_path)
 Copy the file at 'src_path' from 'src_conn' to 'dst_path' in 'dst_conn'. More...
 
bool impala::IsDfsPath (const char *path)
 Returns true iff the path refers to a location on an HDFS filesystem. More...
 
bool impala::IsS3APath (const char *path)
 Returns true iff the path refers to a location on an S3A filesystem. More...