Re: FAILED: Unknown exception: Error while making MR scratch directory

2010-10-19 Thread Guru Prasad
hi, I am answering to my own question thinking this might help someone facing same problem. Problem was with my "/etc/hosts" file. So anyone facing same problem can look into "/etc/hosts" file and make sure that name of host is same everywhere e.g. even in hadoop conf files. For settings hos

change in release tarball names/dirs

2010-10-19 Thread John Sichi
Up through release 0.5, Hive has been producing tarballs hive-x.y.z-bin.tar.gz (binaries only) hive-x.y.z-dev.tar.gz (binaries, source, and doc) The top-level tar directory structures match the tarball name. The "dev" is a little confusing since these are releases (not development builds). I j

RE: I define one UDF function, the UDf retunr List ,but When I use ResultSet to receive result hive throw exception

2010-10-19 Thread Howell, Nathan
Try returning a non-empty string from getDisplayString, I've run across this issue before. I use a helper class that looks similar to this Scala function: override def getDisplayString (children: Array[String]): String = children.mkString("FunctionName(", ", ", ")") From: Steven Wong [mailto:

RE: I define one UDF function, the UDf retunr List ,but When I use ResultSet to receive result hive throw exception

2010-10-19 Thread Steven Wong
Your Hive version is not latest trunk, right? I suspect the error is fixed in HIVE-1378 in trunk. From: lei liu [mailto:liulei...@gmail.com] Sent: Tuesday, October 19, 2010 1:41 AM To: hive-u...@hadoop.apache.org Subject: I define one UDF function, the UDf retunr List ,but When I use ResultSet

I define one UDF function, the UDf retunr List ,but When I use ResultSet to receive result hive throw exception

2010-10-19 Thread lei liu
I define one UDF function, like as below : public class TestUDF extends GenericUDF{ private ObjectInspector[] argumentOIs; @Override public Object evaluate(DeferredObject[] arguments) throws HiveException { ArrayList result = new ArrayList(); DoubleWritable[] bin = new Dou

FAILED: Unknown exception: Error while making MR scratch directory

2010-10-19 Thread Guru Prasad
Hi, When running any query except "show tables" I am getting following error: - FAILED: Unknown exception: Error while making MR scratch directory - check filesystem config (null) - I have reformatted the namenode still I am getting above error. So, please help me in fixing this probl