github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

facebook / scribe

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 177
    • 10
  • Source
  • Commits
  • Network (10)
  • Issues (0)
  • Downloads (1)
  • Wiki (5)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Scribe is a server for aggregating log data streamed in real time from a large number of servers. It is designed to be scalable, extensible without client-side modification, and robust to failure of the network or any specific machine. — Read more

  cancel

http://developers.facebook.com/scribe/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Rewrite HdfsFile::connectToPath. 
tsuna (author)
Mon Jan 25 20:48:32 -0800 2010
groys (committer)
Mon Jan 25 20:48:32 -0800 2010
commit  865aeb17ba6087d94421e31c6e0dcddf63d75c8e
tree    e3010c1ad08db12ceaadbfcf7858b68f8e714a51
parent  e045e83657767fc8f6781ccf76137e9577193a5c
scribe /
name age
history
message
file .gitignore Sun Jan 24 13:57:49 -0800 2010 Add some .gitignore to remove some build artifa... [tsuna]
file LICENSE Wed Oct 22 18:45:25 -0700 2008 Create trunk from releases/scribe-2.0 [Anthony Giardullo]
file Makefile.am Tue Jan 19 23:54:08 -0800 2010 Fix the packaging and the code to work with the... [tsuna]
file README Mon Dec 07 16:28:39 -0800 2009 add note about hadoop builds in readme [Anthony Giardullo]
file acinclude.m4 Wed Oct 22 18:45:25 -0700 2008 Create trunk from releases/scribe-2.0 [Anthony Giardullo]
directory aclocal/ Wed Oct 22 18:45:25 -0700 2008 Create trunk from releases/scribe-2.0 [Anthony Giardullo]
file bootstrap.sh Tue Dec 29 16:58:35 -0800 2009 Fix the packaging and the code to work with the... [tsuna]
file configure.ac Tue Jan 19 23:54:08 -0800 2010 Fix the packaging and the code to work with the... [tsuna]
directory examples/ Wed Jan 13 17:59:10 -0800 2010 Updated scribe_cat Summary: Updated scribe_cat... [groys]
file global_footer.mk Wed Oct 22 18:45:25 -0700 2008 Create trunk from releases/scribe-2.0 [Anthony Giardullo]
file global_header.mk Wed Oct 22 18:45:25 -0700 2008 Create trunk from releases/scribe-2.0 [Anthony Giardullo]
directory if/ Fri Jun 05 19:33:18 -0700 2009 hadoop support and bug fixes [Anthony Giardullo]
directory lib/ Fri Jan 15 20:18:09 -0800 2010 Update lib/py/scribe for compatibility with new... [groys]
directory src/ Mon Jan 25 20:48:32 -0800 2010 Rewrite HdfsFile::connectToPath. Don't attempt... [tsuna]
directory test/ Fri Jun 05 19:33:18 -0700 2009 hadoop support and bug fixes [Anthony Giardullo]
README
Introduction
============

Scribe is a server for aggregating log data that's streamed in real
time from clients. It is designed to be scalable and reliable.

See the Scribe Wiki for documentation:
http://wiki.github.com/facebook/scribe

Keep up to date on Scribe development by joining the Scribe Discussion Group:
http://groups.google.com/group/scribe-server/


License (See LICENSE file for full license)
===========================================
Copyright 2007-2008 Facebook

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Heirarchy
=========

scribe/

  aclocal/
    Contains scripts for building/linking with Boost

  examples/
    Contains simple examples of using Scribe

  if/
    Contains Thrift interface for Scribe

  lib/
    Contains Python package for Scribe

  src/
    Contains Scribe source

  test/
    Contain php scripts for testing scribe


Requirements
============

[libevent] Event Notification library
[boost] Boost C++ library (version 1.36 or later)
[thrift] Thrift framework
[fb303] Facebook Bassline (included in thrift/contrib/fb303/)
   fb303 r697294 or later is required.
[hadoop] optional. version 0.19.1 or higher (http://hadoop.apache.org)

These libraries are open source and may be freely obtained, but they are not
provided as a part of this distribution.


Helpful tips:
-Thrift, fb303, and scribe installation expects python to be installed
 under /usr.  See PY_PREFIX option in 'configure --help' to change this path.
-Some python installs do not include python site-packages in the default
 python include path.  If python cannot find the installed packages for
 scribe or fb303, try setting the environment variable PYTHONPATH to the
 location of the installed packages.  This path gets output during
 'make install'. (Eg: PYTHONPATH='/usr/lib/python2.5/site-packages').


Resources
=========

More information about Scribe can be obtained on the Scribe webpage at:

     http://developers.facebook.com/scribe


To build
========

./bootstrap.sh <configure options>
make

(If you have multiple versions of Boost installed, see Boost configure options below.)

Subsequent builds
=================

./bootstrap <configure options>
make

OR

./configure <configure options>
make

NOTE: After the first run with bootstrap.sh you can use "[ ./bootstrap | ./configure ] <options>" followed by "make"
to create builds with different configurations. "bootstrap" can be passed the same arguments as "configure".

Make sure that if you change configure.ac and|or add macros run "bootstrap.sh".
to regenerate configure. In short whenever in doubt run "bootstrap.sh".


Configure options
=================

To find all available configure options run
./configure --help

Use *only* the listed options.

Examples:
# To disable optimized builds and turn on debug. [ default has been set to optimized]
./configure --disable-opt

# To disable static libraries and enable shared libraries. [ default has been set to static]
./configure --disable-static

# To build scribe with Hadoop support
./configure --enable-hdfs

# If the build process cannot find your Hadoop/Jvm installs, you may need to specify them manually:
./configure --with-hadooppath=/usr/local/hadoop --enable-hdfs CPPFLAGS="-I/usr/local/java/include 
-I/usr/local/java/include/linux" LDFLAGS="-ljvm -lhdfs"

# To set thrift home to a non-default location
./configure --with-thriftpath=/myhome/local/thrift

# If Boost is installed in a non-default location or there are multiple Boost versions
# installed, you will need to specify the Boost path and library names
./configure --with-boost=/usr/local --with-boost-system=boost_system-gcc40-mt-1_36 
--with-boost-filesystem=boost_filesystem-gcc40-mt-1_36


Install
=======

as root:
make install


Run
===

See the examples directory to learn how to use Scribe.


Acknowledgements
================
The build process for Scribe uses autoconf macros to compile/link with Boost.
These macros were written by Thomas Porschberg, Michael Tindal, and
Daniel Casimiro.  See the m4 files in the aclocal subdirectory for more
information.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server