File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
logging/src/main/java/com/cloudera/cdk/examples/logging Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525/**
2626 * Drop the events dataset.
2727 */
28- public class DropDataset extends Configured implements Tool {
28+ public class DeleteDataset extends Configured implements Tool {
2929
3030 @ Override
3131 public int run (String [] args ) throws Exception {
@@ -35,13 +35,13 @@ public int run(String[] args) throws Exception {
3535 .rootDirectory (new URI ("/tmp/data" )).configuration (getConf ()).get ();
3636
3737 // Drop the events dataset
38- boolean success = repo .drop ("events" );
38+ boolean success = repo .delete ("events" );
3939
4040 return success ? 0 : 1 ;
4141 }
4242
4343 public static void main (String ... args ) throws Exception {
44- int rc = ToolRunner .run (new DropDataset (), args );
44+ int rc = ToolRunner .run (new DeleteDataset (), args );
4545 System .exit (rc );
4646 }
4747}
You can’t perform that action at this time.
0 commit comments