mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: a seemingly benign test that fails MahoutTestCase
Date Mon, 16 Jun 2014 23:49:27 GMT
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 <weiz@us.ibm.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message