Hi,
I'm working with compressions in Hadoop,idea is to compress the file in
Linux then to process the same in Hadoop and to decompress it to Linux. I'm
able to do this for gzip and bzip2 *but when i tried for default
compression, I'm able to compress the file but it didn't work for decompress
i.e,
seems the user you used to run hive (sgehlot) has no write permission
for that hdfs directory
check your hadoop acl settings
regards
On Sat, May 28, 2011 at 2:29 AM, sonia gehlot wrote:
> Hi All,
> I have installed Hive 0.7 and its up and running. But I am getting
> permission denied error whil
hi, how about this ?
(.+)&&&(.+?)(?:\^\^.*)?
On Mon, May 30, 2011 at 6:07 PM, jinhang du wrote:
> My data format is as follows:
> a&&&b
> c&&&b^^xyz
> c&&&d^^hdo
> create table f(str1 string, str2 string) ROW FORMAT SERDE
> 'org.apache.hadoop.hive.contrib.serde2.RegexSerDe'
> With SERDEPROPERTIE
Because "^^ " may not appear in my data, so your regular expression doesn't
meet my need.
I tried and the result is not right.
Thank you.
在 2011年5月30日 下午5:20,皮皮 写道:
> maybe change the regex to
> "input.regex"="(.+)&&&(.+)\^\^.+?"
>
>
>
> *
> *
>
>
> -- Original
maybe change the regex to
"input.regex"="(.+)&&&(.+)\^\^.+?"
-- Original --
From: "jinhang du";
Date: Mon, May 30, 2011 05:07 PM
To: "user";
Subject: Question about create hive tables.
My data format is as follows:
a&&&b
c&&&b^^xyz
c&&&d^
My data format is as follows:
a&&&b
c&&&b^^xyz
c&&&d^^hdo
create table f(str1 string, str2 string) ROW FORMAT SERDE
'org.apache.hadoop.hive.contrib.serde2.RegexSerDe'
With SERDEPROPERTIES (
"input.regex"="(.+)&&&(.+)(\^\^.+)?"
)
My aim is :
a b
c b
c d
However ,
a b
c b^^xyz
c d^^hdo
So how to