knox:000> import groovy.json.JsonSlurper
knox:000> text = Hdfs.ls( hadoop ).dir( "/tmp/example" ).now().string
knox:000> json = (new JsonSlurper()).parseText( json )
knox:000> println json.FileStatuses.FileStatus.pathSuffix
[README, README2]

Typo on line 3:  json = (new JsonSlurper()).parseText( text )
(text instead of json)

On Sun, Mar 24, 2013 at 1:07 PM, Pramod Thangali
<[email protected]> wrote:
> Kevin/Larry,
>
> Did a quick sanity check with sandbox on my laptop. Everything unto
> DSL examples for put/status commands on HDFS work perfectly. Nice
> start. +1 on doc/instructions.
>
> -Pramod
>
> On Thu, Mar 21, 2013 at 7:03 PM, Mattmann, Chris A (388J)
> <[email protected]> wrote:
>> Thanks Devraj for the pointer.
>>
>> Cheers,
>> Chris
>>
>>
>> On 3/20/13 3:21 PM, "Devaraj Das" <[email protected]> wrote:
>>
>>>We do have the jira for creating the jira for knox but it hasn't got
>>>attention from infra yet -
>>>https://issues.apache.org/jira/browse/INFRA-5922
>>>
>>>
>>>On Wed, Mar 20, 2013 at 2:49 PM, Mattmann, Chris A (388J) <
>>>[email protected]> wrote:
>>>
>>>> Hey Guys,
>>>>
>>>> RE: #3, after looking at it in more detail, we need to remove references
>>>> to internal Hortonworks JIRA's in our Apache documentation. I realize
>>>> Hortonworks
>>>> people have their own company systems, etc. Those should not be confused
>>>> with their Apache (!Hortonworks) counterparts.
>>>>
>>>> Do we have an Apache Knox JIRA? If not, I would be glad to request one.
>>>>
>>>> Cheers,
>>>> Chris
>>>>
>>>>
>>>> On 3/20/13 2:46 PM, "Mattmann, Chris A (388J)"
>>>> <[email protected]> wrote:
>>>>
>>>> >Hi Kevin,
>>>> >
>>>> >I'm not sure what this email means, but I'm worried by its context.
>>>> >
>>>> >Are you suggesting that you have released a version of Apache Knox,
>>>>with
>>>> >a version # 0.2.0?
>>>> >
>>>> >If so, then I have the following statements/questions:
>>>> >
>>>> >1. Apache releases are VOTEd on by the Apache Knox PPMC and by the
>>>>Apache
>>>> >Incubator PMC
>>>> >(whose VOTEs are the binding ones in this process atm). Unless I missed
>>>> >it,
>>>> >I didn't see a VOTE thread, so I'm not sure how you released Apache
>>>>Knox.
>>>> >See: http://incubator.apache.org/guides/releasemanagement.html
>>>> >Small note: where is RC1?
>>>> >
>>>> >2. It looks like there is development occurring internally at
>>>>Hortonworks
>>>> >here.
>>>> >Why? Co-developing wastes community resources. All of you guys here
>>>>that
>>>> >are interested
>>>> >in the project should be developing here. Of course there are naming
>>>> >issues, etc.,
>>>> >associated with this, but more importantly there are community issues.
>>>>So
>>>> >I request
>>>> >clarification on this.
>>>> >
>>>> >3. Great job on the documentation!
>>>> >
>>>> >Looking forward to the clarifications.
>>>> >
>>>> >Cheers,
>>>> >Chris
>>>> >
>>>> >
>>>> >On 3/20/13 2:35 PM, "Kevin Minder" <[email protected]>
>>>>wrote:
>>>> >
>>>> >>Hi Everyone,
>>>> >>I decided to cut and share v0.2.0 RC2 of the gateway.  I tagged the
>>>>repo
>>>> >>with v0.2.0-rc2.
>>>> >>
>>>> >>For those in Hortonworks I uploaded a ZIP here
>>>> >>
>>>>
>>>>https://docs.google.com/a/hortonworks.com/file/d/0BzcmnaxIHtiAZkxhQWZCQ21
>>>> >>y
>>>> >>WTA/edit
>>>> >>
>>>> >>Everyone else should be able to create their own following these
>>>> >>instructions.
>>>> >>http://knox.incubator.apache.org/release-process.html
>>>> >>
>>>> >>The Apache site is starting to come along.
>>>> >>http://knox.incubator.apache.org/
>>>> >>
>>>> >>Of particular interest are the links in the Documentation section of
>>>>the
>>>> >>left Nav bar.
>>>> >>http://knox.incubator.apache.org/getting-started.html
>>>> >>http://knox.incubator.apache.org/examples.html
>>>> >>http://knox.incubator.apache.org/client.html
>>>> >>http://knox.incubator.apache.org/sandbox.html
>>>> >>
>>>> >>I wrote and reorganized a bunch of documentation over the last few
>>>>days
>>>> >>and I haven't "tested" all of it yet.  So there may need to be some
>>>> >>tweaks there and an RC3.  Functionally however the more eyes the
>>>>better
>>>> >>so give it a spin.  We are especially interested in feedback.
>>>> >>
>>>> >>Kevin.
>>>> >
>>>>
>>>>
>>
>
>
>
> --
> __________________________________________________________________________
> Pramod Thangali
> 408 621 1525
> Engineering at Hortonworks



-- 
__________________________________________________________________________
Pramod Thangali
408 621 1525
Engineering at Hortonworks

Reply via email to