|
|
@@ -10,14 +10,15 @@ applications. It features:
|
|
|
|
|
|
* FileBrowser for accessing HDFS
|
|
|
* Job Designer for creating MapReduce/Streaming/Java jobs
|
|
|
+ * Beeswax application for executing Hive queries
|
|
|
+ * Impala App for executing Cloudera Impala queries
|
|
|
* Oozie App for submitting and scheduling workflows
|
|
|
* JobBrowser for viewing MapReduce jobs
|
|
|
- * Beeswax application for executing Hive queries
|
|
|
- * A Pig/HBase shell
|
|
|
+ * A Pig/HBase/Sqoop2 shell
|
|
|
|
|
|
On top of that, a SDK is available for creating new apps integrated with Hadoop.
|
|
|
|
|
|
-More documentation is available at http://cloudera.github.com/hue/.
|
|
|
+More user and developer documentation is available at http://cloudera.github.com/hue/.
|
|
|
|
|
|
|
|
|
Getting Started
|
|
|
@@ -145,67 +146,10 @@ Main Stack
|
|
|
* Bootstrap
|
|
|
|
|
|
|
|
|
-Using and Installing Thrift
|
|
|
-===========================
|
|
|
-Right now, we check in the generated thrift code.
|
|
|
-To generate the code, you'll need the thrift binary version 0.7.0.
|
|
|
-Please download from http://thrift.apache.org/.
|
|
|
-
|
|
|
-The modules using ``Thrift`` have some helper scripts like ``regenerate_thrift.sh``
|
|
|
-for regenerating the code from the interfaces.
|
|
|
-
|
|
|
-
|
|
|
-Profiling Hue Apps
|
|
|
-==================
|
|
|
-Hue has a profiling system built in, which can be used to analyze server-side
|
|
|
-performance of applications. To enable profiling::
|
|
|
-
|
|
|
- $ build/env/bin/hue runprofileserver
|
|
|
-
|
|
|
-Then, access the page that you want to profile. This will create files like
|
|
|
-/tmp/useradmin.users.000072ms.2011-02-21T13:03:39.745851.prof. The format for
|
|
|
-the file names is /tmp/<app_module>.<page_url>.<time_taken>.<timestamp>.prof.
|
|
|
-
|
|
|
-Hue uses the hotshot profiling library for instrumentation. The documentation
|
|
|
-for this library is located at: http://docs.python.org/library/hotshot.html.
|
|
|
-
|
|
|
-You can use kcachegrind to view the profiled data graphically::
|
|
|
-
|
|
|
- $ hotshot2calltree /tmp/xyz.prof > /tmp/xyz.trace
|
|
|
- $ kcachegrind /tmp/xyz.trace
|
|
|
-
|
|
|
-More generally, you can programmatically inspect a trace::
|
|
|
-
|
|
|
- #!/usr/bin/python
|
|
|
- import hotshot.stats
|
|
|
- import sys
|
|
|
-
|
|
|
- stats = hotshot.stats.load(sys.argv[1])
|
|
|
- stats.sort_stats('cumulative', 'calls')
|
|
|
- stats.print_stats(100)
|
|
|
-
|
|
|
-This script takes in a .prof file, and orders function calls by the cumulative
|
|
|
-time spent in that function, followed by the number of times the function was
|
|
|
-called, and then prints out the top 100 time-wasters. For information on the
|
|
|
-other stats available, take a look at this website:
|
|
|
-http://docs.python.org/library/profile.html#pstats.Stats
|
|
|
-
|
|
|
-
|
|
|
-Internationalization
|
|
|
-====================
|
|
|
-How to update all the messages and compile them::
|
|
|
-
|
|
|
- $ make locales
|
|
|
-
|
|
|
-How to update and compile the messages of one app::
|
|
|
-
|
|
|
- $ cd apps/beeswax
|
|
|
- $ make compile-locale
|
|
|
-
|
|
|
-How to create a new locale for an app::
|
|
|
-
|
|
|
- $ cd $APP_ROOT/src/$APP_NAME/locale
|
|
|
- $ $HUE_ROOT/build/env/bin/pybabel init -D django -i en_US.pot -d . -l fr
|
|
|
+Community
|
|
|
+=========
|
|
|
+ * User group: http://groups.google.com/a/cloudera.org/group/hue-user
|
|
|
+ * Jira: https://issues.cloudera.org/browse/HUE
|
|
|
|
|
|
|
|
|
License
|