diff --git a/HdfsMetaInfoSchema.java b/HdfsMetaInfoSchema.java index c25c8f7179b..00802e891d6 100644 --- a/HdfsMetaInfoSchema.java +++ b/HdfsMetaInfoSchema.java @@ -92,9 +92,10 @@ private HdfsMetaInfoSchema() throws SQLException { + " maxDate bigint, sequenceNumber int primary key, masterKeyId int, expiryDate bigint" + ");" + "CREATE TABLE inodes(" - + " id bigint primary key, parent bigint NOT NULL, name varchar," + + " id bigint, parent bigint NOT NULL, name varchar," + " accessTime bigint, modificationTime bigint," - + " header bigint, permission bigint" + + " header bigint, permission bigint," + + " PRIMARY KEY (id, parent)" + ");" + "PARTITION TABLE inodes ON COLUMN parent;" + "CREATE TABLE inodexattrs("