Drop the cache directive for a given path
(path)
| 293 | |
| 294 | |
| 295 | def drop_cache_directives_for_path(path): |
| 296 | """Drop the cache directive for a given path""" |
| 297 | rc, stdout, stderr = exec_process("hdfs cacheadmin -removeDirectives -path %s" % path) |
| 298 | assert rc == 0, \ |
| 299 | "Error removing cache directive for path %s (%s, %s)" % (path, stdout, stderr) |
| 300 | |
| 301 | |
| 302 | def is_path_fully_cached(path): |
no test coverage detected