forked from dase/CLAIMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDebug.h
executable file
·40 lines (34 loc) · 915 Bytes
/
Debug.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Debug.h
*
* Created on: Aug 9, 2013
* Author: wangli
*/
#ifndef DEBUG_H_
#define DEBUG_H_
#define COOR "/home/claims/config/zhanglei/coor.conf"
/* CONFIG is now specified in Config.cpp
//#define CONFIG "/home/claims/config/wangli/config"
//#define CONFIG_SAME "/home/claims/config/config"
/*
* needed by blockstreamjoiniterator
* */
#define BARRIER 1
/*
* block in hdfs and sublock in block
* */
#define BLOCK_SIZE (64 * 1024)
#define SUCHUNK_SIZE (64 * 1024)
#define CHUNK_SIZE (64 * 1024 * 1024)
#define CHUNK_SIZE_IN_MB 64
#define HEARTBEAT_MESSAGE_LEN 64
#define REGISTER_MESSAGE_LEN 64
#define BLOCK_STATUS_MESSAGE_LEN 256
#define MATCHER_MESSAGE_FILENAME_LEN 256
#define MATCHER_MESSAGE_BMI_LEN 256
#define MATCHER_MESSAGE_PROJECT_LEN 256
// 分布式文件系统的主节点
#define HDFS_N "10.11.1.190"
// 磁盘目录
#define DISKDIR "/home/claims/diskdata"
#endif /* DEBUG_H_ */