Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hdfs-util.cc File Reference
#include "util/hdfs-util.h"
#include <sstream>
#include <string.h>
#include "util/error-util.h"
#include "common/names.h"
Include dependency graph for hdfs-util.cc:

Go to the source code of this file.

Namespaces

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

Functions

string impala::GetHdfsErrorMsg (const string &prefix, const 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 string &filename)
 
Status impala::CopyHdfsFile (const hdfsFS &src_conn, const string &src_path, const hdfsFS &dst_conn, const string &dst_path)
 
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...