@@ -76,7 +76,7 @@ def test_cols_enum_multi_import(self):
76
76
# DON"T get redirected to S3! (EC2 hack in config, remember!)
77
77
# use it at the node level directly (because we gen'ed the files.
78
78
# use regex. the only files in the dir will be the ones we just created with *fileN* match
79
- parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='put ',
79
+ parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='local ',
80
80
exclude=None, header=1, timeoutSecs=timeoutSecs)
81
81
print "parseResult['destination_key']: " + parseResult['destination_key']
82
82
print 'parse time:', parseResult['response']['time']
@@ -104,23 +104,23 @@ def test_cols_enum_multi_import(self):
104
104
print "checking os.chmod and parse"
105
105
# os.chmod(badPathname, stat.S_IRWXU | stat.S_IRWXO)
106
106
# always have to re-import because source key is deleted by h2o
107
- parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='put ',
107
+ parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='local ',
108
108
exclude=None, header=1, timeoutSecs=timeoutSecs)
109
109
print "parseResult['destination_key']: " + parseResult['destination_key']
110
110
inspect = h2o_cmd.runInspect(None, parseResult['destination_key'])
111
111
h2o_cmd.infoFromInspect(inspect, csvPathname)
112
112
113
113
print "write by owner, only, and parse"
114
114
os.chmod(badPathname, stat.S_IWRITE)
115
- parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='put ',
115
+ parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='local ',
116
116
exclude=None, header=1, timeoutSecs=timeoutSecs)
117
117
inspect = h2o_cmd.runInspect(None, parseResult['destination_key'])
118
118
h2o_cmd.infoFromInspect(inspect, csvPathname)
119
119
120
120
print "execute by owner, only, and parse"
121
121
os.chmod(badPathname, stat.S_IEXEC)
122
122
h2o.nodes[0].import_files(SYNDATASETS_DIR)
123
- parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='put ',
123
+ parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='local ',
124
124
exclude=None, header=1, timeoutSecs=timeoutSecs)
125
125
inspect = h2o_cmd.runInspect(None, parseResult['destination_key'])
126
126
h2o_cmd.infoFromInspect(inspect, csvPathname)
@@ -136,11 +136,11 @@ def test_cols_enum_multi_import(self):
136
136
137
137
print "parsing after one bad uid"
138
138
os.chown(badPathname, badUid, origGid)
139
- parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='put ',
139
+ parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='local ',
140
140
exclude=None, header=1, timeoutSecs=timeoutSecs)
141
141
print "parsing after one bad gid"
142
142
os.chown(badPathname, origUid, badGid)
143
- parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='put ',
143
+ parseResult = h2i.import_parse(path=SYNDATASETS_DIR + '/*'+rowxcol+'*', schema='local ',
144
144
exclude=None, header=1, timeoutSecs=timeoutSecs)
145
145
146
146
os.chown(badPathname, origUid, origGid)
0 commit comments