22 #ifndef FsBroker_mapr_MaprBroker_h
23 #define FsBroker_mapr_MaprBroker_h
48 : fs(_fs), file(_file), flags(_flags),
filename(fname) { }
50 if (hdfsCloseFile(fs, file) != 0) {
77 uint32_t flags, uint32_t bufsz);
79 int32_t bufsz, int16_t replication, int64_t blksz);
87 bool accurate =
true);
89 uint32_t amount,
bool verify_checksum);
125 #endif // FsBroker_mapr_MaprBroker_h
A memory buffer of static size.
virtual ~OpenFileDataMapr()
Application handler for append function.
Holds Nagios-style program status information.
std::string String
A String is simply a typedef to std::string.
MetricsHandlerPtr m_metrics_handler
Metrics collection handler.
Abstract class to be implemented by brokers.
std::shared_ptr< OpenFileData > OpenFileDataPtr
Flags
Enumeration type for append flags.
Application handler for exists function.
Program options handling.
OpenFileDataMapr * operator->() const
Hypertable::Status m_status
Server status information.
Application handler for length function.
bool status(ContextPtr &context, Timer &timer, Status &status)
Runs a status check on the master.
std::shared_ptr< Properties > PropertiesPtr
OpenFileDataMapr(hdfsFS _fs, const String &fname, hdfsFile _file, int _flags)
This class is used to generate and deliver standard responses back to a client.
Application handler for readdir function.
Application handler for open function.
Declarations for MetricsHandler.
Application handler for read function.
OpenFileDataMaprPtr(OpenFileDataMapr *ofdl)
Application handler for open function.
A String class based on std::string.
#define HT_ERRORF(msg,...)
static atomic< int > ms_next_fd
std::shared_ptr< MetricsHandler > MetricsHandlerPtr
Smart pointer to MetricsHandler.