Skip to content

Commit 254e94c

Browse files
committed
Fixing comments (Drop => Delete)
1 parent 0bb0a71 commit 254e94c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dataset/src/main/java/com/cloudera/cdk/examples/data/DeleteHCatalogUserDataset.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.apache.hadoop.util.ToolRunner;
2525

2626
/**
27-
* Drop the users dataset and HCatalog metadata.
27+
* Delete the users dataset and HCatalog metadata.
2828
*/
2929
public class DeleteHCatalogUserDataset extends Configured implements Tool {
3030

@@ -34,7 +34,7 @@ public int run(String[] args) throws Exception {
3434
// Construct an HCatalog dataset repository using managed Hive tables
3535
DatasetRepository repo = new HCatalogDatasetRepository();
3636

37-
// Drop the users dataset
37+
// Delete the users dataset
3838
boolean success = repo.delete("users");
3939

4040
return success ? 0 : 1;

dataset/src/main/java/com/cloudera/cdk/examples/data/DeleteProductDataset.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.apache.hadoop.util.ToolRunner;
2424

2525
/**
26-
* Drop the products dataset.
26+
* Delete the products dataset.
2727
*/
2828
public class DeleteProductDataset extends Configured implements Tool {
2929

@@ -34,7 +34,7 @@ public int run(String[] args) throws Exception {
3434
DatasetRepository repo = new FileSystemDatasetRepository.Builder()
3535
.rootDirectory(new URI("/tmp/data")).configuration(getConf()).get();
3636

37-
// Drop the products dataset
37+
// Delete the products dataset
3838
boolean success = repo.delete("products");
3939

4040
return success ? 0 : 1;

dataset/src/main/java/com/cloudera/cdk/examples/data/DeleteUserDataset.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.apache.hadoop.util.ToolRunner;
2424

2525
/**
26-
* Drop the users dataset.
26+
* Delete the users dataset.
2727
*/
2828
public class DeleteUserDataset extends Configured implements Tool {
2929

@@ -34,7 +34,7 @@ public int run(String[] args) throws Exception {
3434
DatasetRepository repo = new FileSystemDatasetRepository.Builder()
3535
.rootDirectory(new URI("/tmp/data")).configuration(getConf()).get();
3636

37-
// Drop the users dataset
37+
// Delete the users dataset
3838
boolean success = repo.delete("users");
3939

4040
return success ? 0 : 1;

0 commit comments

Comments
 (0)