Attachments are stripped by the mailing list.  Can you throw the stack
trace onto a github gist or something?


On Mon, Jun 16, 2014 at 3:27 PM, Wei Zhang <[email protected]> wrote:

>
>
> Hello,
>
> I am wrting a simple Unit test, which extends MahoutTestCase. I am using
> Mahout 0.9 and Hadoop 1.0.3.
>
> The test is quite simple, it just creates an empty file on HDFS. The entire
> coding is the following:
>
> @Test
> public void simpleTest() throws IOException{
>                 Configuration conf = new Configuration();
>                 FileSystem fs = FileSystem.get(conf);
>                 Path filenamePath = new Path("/tmp/tmp.txt");
>                 FSDataOutputStream out = fs.create(filenamePath);
>                 out.close();
> }
>
> However, this will fail the MahoutTestCase. In particular, the moment I
> added the line 4 (FSDataOutputStream out = fs.create(filenamePath);), this
> test would fail.
> I am wondering can anyone give me some pointers regarding why this naive
> program would fail ?
> The error log is attached below.
>
> Thank you very much !
>
> Wei

Reply via email to