Tuesday, November 5, 2013

cdk-examples dataset-staging modification

Change file CreateStagedDataset.java

File f = new File("/home/cloudera/cdk/cdk-examples/dataset-staging/src/main/resources/simple-log.avsc");
URI schemaURI= f.toURI();

Didn't reconize the resource:xxx.avsc notation.

Change the url hard coded in the classes from repo:hdfs:/tmp/data to hdfs://localhost/tmp/data


No comments:

Post a Comment