Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Scribe Source .thrift file


Copy link to this message
-
Re: Scribe Source .thrift file
Hi Denny, Juhani,

Thanks! I will add this file to the compileThrift profile, so we can update the thrift generated code when we upgrade thrift.

Thanks!
Hari

--
Hari Shreedharan
On Monday, February 4, 2013 at 6:46 PM, Denny Ye wrote:

> Sorry for late response
>
> Here is the scribe.thrift file :
> ************************* file separator *********************
> namespace java scribe.thrift
>
> enum ResultCode
> {
> OK,
> TRY_LATER
> }
>
> struct LogEntry
> {
> 1: string category,
> 2: string message
> }
>
> service scribe
> {
> ResultCode Log(1: list<LogEntry> messages);
> }
> ************************* file separator *********************
>
> To Juhani, I haven't use the facebook template, there have so many
> additional interfaces that I don't like it.
>
>
>
> 2013/2/5 Juhani Connolly <[EMAIL PROTECTED] (mailto:[EMAIL PROTECTED])>
>
> > This is the file we want:
> >
> > https://github.com/facebook/**scribe/blob/master/if/scribe.**thrift<https://github.com/facebook/scribe/blob/master/if/scribe.thrift>
> >
> > It's apache 2 licensed but also has a facebooke copyright header. I think
> > this is why we didn't originally include it.
> >
> >
> > On 02/03/2013 09:14 AM, Hari Shreedharan wrote:
> >
> > > Hi all,
> > >
> > > The scribe source has some thrift generated code committed, but no
> > > ".thrift" file. This makes upgrading to a new version of libthrift
> > > impossible.
> > >
> > > I believe Denny Ye contributed this code, so Denny, it'd be nice if you
> > > could submit the ".thrift" file as soon as possible.
> > >
> > >
> > > Thanks,
> > > Hari
> > >
> >
> >
>
>
>