Hue安装

HUE安装配置 1. HUE 编译安装 2. HUE 集成Hadoop、Hive 阅读详情

1. Introduction

Hue is a graphical user interface to operate and develop applications for Apache Hadoop. Hue applications are collected into a desktop-style environment and delivered as a Web application, requiring no additional installation for individual users.

This guide describes how to install and configure a Hue tarball. For information about installing Hue packages, see Installing Hue.

There is also a companion SDK guide that describes how to develop new Hue applications: Hue SDK Documentation

[Important]  

Hue requires the Hadoop contained in Cloudera’s Distribution including Apache Hadoop (CDH4)

Conventions Used in this Guide:

  • Commands that must be run with root permission have a # command prompt.
  • Commands that do not require root permission have a $ command prompt.

2. Hue Installation Instructions

The following instructions describe how to install the Hue tarball on a multi-node cluster. You need to also install CDH and update some Hadoop configuration files before running Hue.

2.1. Install Hue

Hue consists of a web service that runs on a special node in your cluster. Choose one node where you want to run Hue. This guide refers to that node as the Hue Server. For optimal performance, this should be one of the nodes within your cluster, though it can be a remote node as long as there are no overly restrictive firewalls. For small clusters of less than 10 nodes, you can use your existing master node as the Hue Server.

You can download the Hue tarball here: gethue.tumblr.com/tagged/release

Hue Dependencies

Hue employs some Python modules which use native code and requires certain development libraries be installed on your system. To install from the tarball, you must have the following installed:

Table 1. Required Dependencies

Redhat Ubuntu
gcc gcc
g++ g++
libxml2-devel libxml2-dev
libxslt-devel libxslt-dev
cyrus-sasl-devel libsasl2-dev
cyrus-sasl-gssapi libsasl2-modules-gssapi-mit
mysql-devel libmysqlclient-dev
python-devel python-dev
python-setuptools python-setuptools
python-simplejson python-simplejson
sqlite-devel libsqlite3-dev
ant ant
libsasl2-dev cyrus-sasl-devel
libsasl2-modules-gssapi-mit cyrus-sasl-gssapi
libkrb5-dev krb5-devel
libtidy-0.99-0 libtidy (For unit tests only)
mvn mvn (From maven2 package or tarball)
openldap-dev / libldap2-dev openldap-devel

The full list is here: https://github.com/cloudera/hue#development-prerequisites

Build

Configure $PREFIX with the path where you want to install Hue by running:

$ PREFIX=/usr/share make install
$ cd /usr/share/hue

You can install Hue anywhere on your system, and run Hue as a non-root user. The Shell application needs root privileges to launch various sub-processes as the logged in users. $USER should be the group of the user running Hue (same as its username).

It is a good practice to create a new user for Hue and either install Hue in that user’s home directory, or in a directory within /usr/share.

Troubleshooting the Hue Tarball Installation

Q: I moved my Hue installation from one directory to another and now Hue no. longer functions correctly.

A: Due to the use of absolute paths by some Python packages, you must run a series of commands if you move your Hue installation. In the new location, run:

$ rm app.reg
$ rm -r build
$ make apps

Q: Why does "make install" compile other pieces of software? A: In order to ensure that Hue is stable on a variety of distributions and architectures, it installs a Python virtual environment which includes its dependencies. This ensures that the software can depend on specific versions of various Python libraries and you don’t have to be concerned about missing software components.

2.2. Install Hadoop from CDH

To use Hue, you must install and run Hadoop from CDH4 or later. If you are not running this version of CDH or later, upgrade your cluster before proceeding.

Table 2. Dependency on CDH Components

Component Required Applications Notes
HDFS Yes Core, Filebrowser HDFS access through WebHdfs or HttpFS
MR1 No JobBrowser, JobDesigner, Beeswax Job information access through hue-plugins
Yarn No JobDesigner, Beeswax Transitive dependency via Hive or Oozie
Oozie No JobDesigner, Oozie Oozie access through REST API
Hive No Beeswax Beeswax uses the Hive client libraries
HBase No HBase Browser Requires Thrift 1 service
Pig No Pig Editor Requires Oozie
Sqoop2 No Sqoop Editor Requires Sqoop2 server

2.3. Hadoop Configuration

Configure WebHdfs

You need to enable WebHdfs or run an HttpFS server. To turn on WebHDFS, add this to your hdfs-site.xml and restart your HDFS cluster. Depending on your setup, your hdfs-site.xml might be in /etc/hadoop/conf.

<property>
  <name>dfs.webhdfs.enabled</name>
  <value>true</value>
</property>

You also need to add this to core-site.html.

<property>
  <name>hadoop.proxyuser.hue.hosts</name>
  <value>*</value>
</property>
<property>
  <name>hadoop.proxyuser.hue.groups</name>
  <value>*</value>
</property>

If you place your Hue Server outside the Hadoop cluster, you can run an HttpFS server to provide Hue access to HDFS. The HttpFS service requires only one port to be opened to the cluster.

Also add this in httpfs-site.xml which might be in /etc/hadoop-httpfs/conf.

<property>
  <name>httpfs.proxyuser.hue.hosts</name>
  <value>*</value>
</property>
<property>
  <name>httpfs.proxyuser.hue.groups</name>
  <value>*</value>
</property>
Configure MapReduce 0.20 (MR1)

Hue communicates with the JobTracker via the Hue plugins, which is a jar file that you place in your MapReduce lib directory.

If you JobTracker and Hue are located on the same host, copy it over. If you are using CDH3, your MapReduce library directory might be in/usr/lib/hadoop/lib.

$ cd /usr/share/hue
$ cp desktop/libs/hadoop/java-lib/hue-plugins-*.jar /usr/lib/hadoop-0.20-mapreduce/lib

If you JobTracker runs on a different host, you need to scp the Hue plugins jar to the JobTracker host.

Then add this to your mapred-site.xml and restart your JobTracker. Depending on your setup, your mapred-site.xml might be in /etc/hadoop/conf.

<property>
  <name>jobtracker.thrift.address</name>
  <value>0.0.0.0:9290</value>
</property>
<property>
  <name>mapred.jobtracker.plugins</name>
  <value>org.apache.hadoop.thriftfs.ThriftJobTrackerPlugin</value>
  <description>Comma-separated list of jobtracker plug-ins to be activated.</description>
</property>

You can confirm that the plugins are running correctly by tailing the daemon logs:

$ tail --lines=500 /var/log/hadoop-0.20/hadoop*jobtracker*.log | grep ThriftPlugin
2009-09-28 16:30:44,337 INFO org.apache.hadoop.thriftfs.ThriftPluginServer: Starting Thrift server
2009-09-28 16:30:44,419 INFO org.apache.hadoop.thriftfs.ThriftPluginServer:
Thrift server listening on 0.0.0.0:9290
Configure Oozie

Hue submits MapReduce jobs to Oozie as the logged in user. You need to configure Oozie to accept the hue user to be a proxyuser. Specify this in your oozie-site.xml (even in a non-secure cluster), and restart Oozie:

<property>
    <name>oozie.service.ProxyUserService.proxyuser.hue.hosts</name>
    <value>*</value>
</property>
<property>
    <name>oozie.service.ProxyUserService.proxyuser.hue.groups</name>
    <value>*</value>
</property>

2.4. Further Hadoop Configuration and Caveats

HADOOP_CLASSPATH Caveat

If you are setting $HADOOP_CLASSPATH in your hadoop-env.sh, be sure to set it in such a way that user-specified options are preserved. For example:

Correct:

# HADOOP_CLASSPATH=<your_additions>:$HADOOP_CLASSPATH

Incorrect:

# HADOOP_CLASSPATH=<your_additions>

This enables certain components of Hue to add to Hadoop’s classpath using the environment variable.

hadoop.tmp.dir

If your users are likely to be submitting jobs both using Hue and from the same machine via the command line interface, they will be doing so as the hue user if they’re using Hue and via their own user account on the command line. This leads to some contention on the directory specified by hadoop.tmp.dir, which defaults to /tmp/hadoop-${user.name}. Specifically, hadoop.tmp.dir is used to unpack jars in bin/hadoop jar. One work around to this is to set hadoop.tmp.dir to /tmp/hadoop-${user.name}-${hue.suffix} in the core-site.xml file:

<property>
  <name>hadoop.tmp.dir</name>
  <value>/tmp/hadoop-${user.name}${hue.suffix}</value>
</property>

Unfortunately, when the variable is unset, you’ll end up with directories named /tmp/hadoop-user_name-${hue.suffix} in /tmp. Despite that, Hue will still work.

[Important]  

The Beeswax server writes into a local directory on the Hue machine that is specified by hadoop.tmp.dir to unpack its jars. That directory needs to be writable by the hue user, which is the default user who starts Beeswax Server, or else Beeswax server will not start. You may also make that directory world-writable.

Configuring Your Firewall for Hue

Hue currently requires that the machines within your cluster can connect to each other freely over TCP. The machines outside your cluster must be able to open TCP port 8888 on the Hue Server (or the configured Hue web HTTP port) to interact with the system.

2.5. Hive Configuration

Hue’s Beeswax application helps you use Hive to query your data. It depends on a Hive Server 2 running in the cluster. Please read this section to ensure a proper integration.

Your Hive data is stored in HDFS, normally under /user/hive/warehouse (or any path you specify as hive.metastore.warehouse.dir in your hive-site.xml). Make sure this location exists and is writable by the users whom you expect to be creating tables. /tmp (on the local file system) must be world-writable (1777), as Hive makes extensive use of it.

Familiarize yourself with the configuration options in hive-site.xml. See Hive Installation and Configuration. Having a hive-site.xml is optional but often useful, particularly on setting up a metastore. You may store the hive-site.xml in /etc/hue, or instruct Beeswax to locate it using thehive_conf_dir configuration variable. See hue.ini.

Existing Hive Installation

In hue.ini, modify hive_conf_dir to point to the directory containing hive-site.xml.

3. Configuring Hue

Hue ships with a default configuration that will work for pseudo-distributed clusters. If you are running on a real cluster, you must make a few changes to the hue.ini configuration file (/etc/hue/hue.ini when installed from the CDH package version) or pseudo-distributed.ini in desktop/conf when in development mode). The following sections describe the key configuration options you must make to configure Hue.

[Tip] Listing all Configuration Options

To list all available configuration options, run:

$ /usr/share/hue/build/env/bin/hue config_help | less

This commands outlines the various sections and options in the configuration, and provides help and information on the default values.

[Tip] Viewing Current Configuration Options

To view the current configuration from within Hue, open:

http://<hue>/dump_config
[Tip] Using Multiple Files to Store Your Configuration

Hue loads and merges all of the files with extension .ini located in the /etc/hue directory. Files that are alphabetically later take precedence.

3.1. Web Server Configuration

These configuration variables are under the [desktop] section in the hue.ini configuration file.

Specifying the Hue HTTP Address

Hue uses CherryPy web server. You can use the following options to change the IP address and port that the web server listens on. The default setting is port 8888 on all configured IP addresses.

# Webserver listens on this address and port
http_host=0.0.0.0
http_port=8888
Specifying the Secret Key

For security, you should also specify the secret key that is used for secure hashing in the session store. Enter a long series of random characters (30 to 60 characters is recommended).

secret_key=jFE93j;2[290-eiw.KEiwN2s3['d;/.q[eIW^y#e=+Iei*@Mn<qW5o
[Note]  

If you don’t specify a secret key, your session cookies will not be secure. Hue will run but it will also display error messages telling you to set the secret key.

Authentication

By default, the first user who logs in to Hue can choose any username and password and becomes an administrator automatically. This user can create other user and administrator accounts. User information is stored in the Django database in the Django backend.

The authentication system is pluggable. For more information, see the Hue SDK Documentation.

Configuring Hue for SSL

You can configure Hue to serve over HTTPS. To do so, you must install "pyOpenSSL" within Hue’s context and configure your keys.

To install pyOpenSSL, from the root of your Hue installation path, do the following steps:

  1. Run this command:

    $ ./build/env/bin/easy_install pyOpenSSL
  2. Configure Hue to use your private key by adding the following options to the hue.ini configuration file:

    ssl_certificate=/path/to/certificate
    ssl_private_key=/path/to/key
  3. Ideally, you would have an appropriate key signed by a Certificate Authority. If you’re just testing, you can create a self-signed key using the openssl command that may be installed on your system:

    ### Create a key
    $ openssl genrsa 1024 > host.key
    ### Create a self-signed certificate
    $ openssl req -new -x509 -nodes -sha1 -key host.key > host.cert
[Note] Self-signed Certificates and File Uploads

To upload files using the Hue File Browser over HTTPS requires using a proper SSL Certificate. Self-signed certificates don’t work.

3.2. Hue Configuration for Hadoop

These configuration variables are under the [hadoop] section in the hue.ini configuration file.

HDFS Cluster

Hue only support one HDFS cluster currently. That cluster should be defined under the [[[default]]] sub-section.

fs_defaultfs
This is the equivalence of  fs.defaultFS (aka  fs.default.name) in Hadoop configuration.
webhdfs_url
You can also set this to be the HttpFS url. The default value is the HTTP port on the NameNode.
hadoop_hdfs_home
This is the home of your Hadoop HDFS installation. It is the root of the Hadoop untarred directory, or usually  /usr/lib/hadoop.
hadoop_bin
Use this as the HDFS Hadoop launcher script, which is usually  /usr/bin/hadoop.
hadoop_conf_dir
This is the configuration directory of the HDFS, typically  /etc/hadoop/conf.
MapReduce (MR1) Cluster

Hue only support one MapReduce cluster currently. That cluster should be defined under the [[[default]]] sub-section. Note that JobBrowser only works with MR1.

jobtracker_host
The host running the JobTracker. In a secured environment, this needs to be the FQDN of the JobTracker host, and match the "host" portion of the ‘mapred’ Kerberos principal full name.
jobtracker_port
The port for the JobTracker IPC service.
submit_to
If your Oozie is configured with to talk to a 0.20 MapReduce service, then set this to  true. Hue will be submitting jobs to this MapReduce cluster.
hadoop_mapred_home
This is the home of your Hadoop MapReduce installation. It is the root of the Hadoop MR1 untarred directory, or the root of the Hadoop 0.20 untarred directory, or  /usr/lib/hadoop-0.20-mapreduce for CDH packages. If  submit_to is true for this cluster, this config value becomes the $HADOOP_MAPRED_HOME for BeeswaxServer and child shell processes.
hadoop_bin
Use this as the MR1 Hadoop launcher script, which is usually  /usr/bin/hadoop.
hadoop_conf_dir
This is the configuration directory of the MR1 service, typically  /etc/hadoop/conf.
Yarn (MR2) Cluster

Hue only support one Yarn cluster currently. That cluster should be defined under the [[[default]]] sub-section.

resourcemanager_host
The host running the ResourceManager.
resourcemanager_port
The port for the ResourceManager IPC service.
submit_to
If your Oozie is configured with to talk to a Yarn cluster, then set this to  true. Hue will be submitting jobs to this Yarn cluster. But note that JobBrowser will not be able to show MR2 jobs.
hadoop_mapred_home
This is the home of your Hadoop MapReduce installation. It is the root of the Hadoop 0.23 untarred directory, or  /usr/lib/hadoop-mapreduce for CDH packages. If  submit_to is true for this cluster, this config value becomes the  $HADOOP_MAPRED_HOME for BeeswaxServer and child shell processes.
hadoop_bin
Use this as the Yarn/MR2 Hadoop launcher script, which is usually  /usr/bin/hadoop.
hadoop_conf_dir
This is the configuration directory of the Yarn/MR2 service, typically  /etc/hadoop/conf.

3.3. Beeswax Configuration

In the [beeswax] section of the configuration file, you can optionally specify the following:

beeswax_server_host
The hostname or IP that the Hive Server should bind to. By default it binds to  localhost, and therefore only serves local IPC clients.
hive_home_dir
The base directory of your Hive installation.
hive_conf_dir
The directory containing your  hive-site.xml Hive configuration file.

3.4. JobDesigner and Oozie Configuration

In the [liboozie] section of the configuration file, you should specify:

oozie_url
The URL of the Oozie service. It is the same as the  OOZIE_URL environment variable for Oozie.

3.5. UserAdmin Configuration

In the [useradmin] section of the configuration file, you can optionally specify the following:

default_user_group
The name of a default group that is suggested when creating a user manually. If the LdapBackend or PamBackend are configured for doing user authentication, new users will automatically be members of the default group.

3.6. Configuration Validation

Hue can detect certain invalid configuration. It will show a red alert icon on the top navigation bar. images/val.png

To view the configuration of a running Hue instance, navigate to http://myserver:8888/dump_config, also accessible through the About application.

4. Starting Hue from the Tarball

After your cluster is running with the plugins enabled, you can start Hue on your Hue Server by running:

# build/env/bin/supervisor

This will start several subprocesses, corresponding to the different Hue components. Your Hue installation is now running.

5. Administering Hue

Now that you’ve installed and started Hue, you can feel free to skip ahead to the Using Hue section. Administrators may want to refer to this section for more details about managing and operating a Hue installation.

5.1. Hue Processes

Process User

Filebrowser requires Hue to be running as the hue user.

Process Hierarchy

A script called supervisor manages all Hue processes. The supervisor is a watchdog process — its only purpose is to spawn and monitor other processes. A standard Hue installation starts and monitors the following processes:

  • runcpserver - a web server based on CherryPy that provides the core web functionality of Hue

If you have installed other applications into your Hue instance, you may see other daemons running under the supervisor as well.

You can see the supervised processes running in the output of ps -f -u hue:

UID        PID  PPID  C STIME TTY          TIME CMD
hue       8685  8679  0 Aug05 ?        00:01:39 /usr/share/hue/build/env/bin/python /usr/share/hue/build/env/bin/desktop runcpserver

Note that the supervisor automatically restarts these processes if they fail for any reason. If the processes fail repeatedly within a short time, the supervisor itself shuts down.

5.2. Hue Logging

The Hue logs are found in /var/log/hue, or in a logs directory under your Hue installation root. Inside the log directory you can find:

  • An access.log file, which contains a log for all requests against the Hue web server.
  • A supervisor.log file, which contains log information for the supervisor process.
  • A supervisor.out file, which contains the stdout and stderr for the supervisor process.
  • A .log file for each supervised process described above, which contains the logs for that process.
  • A .out file for each supervised process described above, which contains the stdout and stderr for that process.

If users on your cluster have problems running Hue, you can often find error messages in these log files. If you are unable to start Hue from the init script, the supervisor.log log file can often contain clues.

Viewing Recent Log Messages Online

In addition to logging INFO level messages to the logs directory, the Hue web server keeps a small buffer of log messages at all levels in memory. You can view these logs by visiting http://myserver:8888/logs. The DEBUG level messages shown can sometimes be helpful in troubleshooting issues.

5.3. The Hue Database

Hue requires a SQL database to store small amounts of data, including user account information as well as history of job submissions and Hive queries. By default, Hue is configured to use the embedded database SQLite for this purpose, and should require no configuration or management by the administrator. However, MySQL is the recommended database to use. This section contains instructions for configuring Hue to access MySQL and other databases.

Inspecting the Hue Database

The default SQLite database used by Hue is located in: ‘/usr/share/hue/desktop/desktop.db. You can inspect this database from the command line using the `sqlite3 program or typing `/usr/share/hue/build/env/bin/hue dbshell’. For example:

# sqlite3 /usr/share/hue/desktop/desktop.db
SQLite version 3.6.22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select username from auth_user;
admin
test
sample
sqlite>

It is strongly recommended that you avoid making any modifications to the database directly using SQLite, though this trick can be useful for management or troubleshooting.

Backing up the Hue Database

If you use the default SQLite database, then copy the desktop.db file to another node for backup. It is recommended that you back it up on a regular schedule, and also that you back it up before any upgrade to a new version of Hue.

Configuring Hue to Access Another Database

Although SQLite is the default database type, some advanced users may prefer to have Hue access an alternate database type. Note that if you elect to configure Hue to use an external database, upgrades may require more manual steps in the future.

The following instructions are for MySQL, though you can also configure Hue to work with other common databases such as PostgreSQL and Oracle.

[Note] Tested Database Backends

Note that Hue has only been tested with SQLite and MySQL database backends.

Configuring Hue to Store Data in MySQL

To configure Hue to store data in MySQL:

  1. Create a new database in MySQL and grant privileges to a Hue user to manage this database.

    mysql> create database hue;
    Query OK, 1 row affected (0.01 sec)
    mysql> grant all on hue.* to 'hue'@'localhost' identified by 'secretpassword';
    Query OK, 0 rows affected (0.00 sec)
  2. Shut down Hue if it is running.
  3. To migrate your existing data to MySQL, use the following command to dump the existing database data to a text file. Note that using the ".json" extension is required.

    $ /usr/share/hue/build/env/bin/hue dumpdata > <some-temporary-file>.json
  4. Open the hue.ini file in a text editor. Directly below the [[database]] line, add the following options (and modify accordingly for your MySQL setup):

    host=localhost
    port=3306
    engine=mysql
    user=hue
    password=secretpassword
    name=hue
  5. As the Hue user, configure Hue to load the existing data and create the necessary database tables:

    $ /usr/share/hue/build/env/bin/hue syncdb --noinput
    $ mysql -uhue -psecretpassword -e "DELETE FROM hue.django_content_type;"
    $ /usr/share/hue/build/env/bin/hue loaddata <temporary-file-containing-dumped-data>.json

Your system is now configured and you can start the Hue server as normal.

6. Using Hue

After installation, you can use Hue by navigating to http://myserver:8888/. The following login screen appears:

images/login.png

The Help application guides users through the various installed applications.

6.1. Supported Browsers

  • Windows: Chrome, Firefox 3.6+, Internet Explorer 9+, Safari 5+
  • Linux : Chrome, Firefox 3.6+
  • Mac: Chrome, Firefox 3.6+, Safari 5+

6.2. Feedback

Your feedback is welcome. The best way to send feedback is to join the mailing list, and send e-mail, to hue-user@cloudera.org.

6.3. Reporting Bugs

If you find that something doesn’t work, it’ll often be helpful to include logs from your server. (See the Hue Logging section. Please include the logs as a zip (or cut and paste the ones that look relevant) and send those with your bug reports. images/logs.png


启动  /usr/share/hue/build/env/bin/supervisor

hue在centos7下的安装 1.hue简介1.1什么是hue? HUE=Hadoop User ExperienceHue是一个开源的Apache hadoop UI系统,由Cloudera Desktop演化而来,最后Cloudera公司将其贡献给Apache基金会的Hadoop社区,它是基于Python Web框架Django实现的。通过使用Hue我们可以在浏览器端的Web控制台上与Hadoop集群进行交互来分析处理数据 阅读详情

相关推荐

Hue的安装部署

Hue的安装 第一步:上传解压安装包 ue的安装支持多种方式,包括rpm包的方式进行安装、tar.gz包的方式进行安装以及cloudera manager的方式来进行安装等,我们这里使用tar.gz包的方式来进行安装。 Hue的压缩包的下载地址: http://archive.cloudera.com/cdh5/cdh/5/ 我们这里使用的是CDH5.14.0这个对应的版本,具体下载地址为 ht...

Mr_Yang888的博客 1万+

Hue问题记录

为什么80%的码农都做不了架构师?>>> ...

weixin_34112181的博客 1389

Hue安装部署

Hue官方网站:https://gethue.com/ HUE官方用户手册:https://docs.gethue.com/ 官方安装文档:https://docs.gethue.com/administrator/installation/install/ HUE下载地址:https://docs.gethue.com/releases/ 准备 1、安装maven 链接:https://pan.baidu.com/s/1yuTwK_tEAYt3HtMazrkUFg 提取码:i6at ...

lF04464的博客 1020

安装Hue后的一些功能的问题解决干货总结(博主推荐)

不多说,直接上干货!   我的集群机器情况是bigdatamaster(192.168.80.10)、bigdataslave1(192.168.80.11)和bigdataslave2(192.168.80.12)   然后,安装目录是在/home/hadoop/app下。   官方建议在master机器上安装Hue,我这里也不例外。安装在bigdatamaste...

weixin_30270561的博客 1975

hue 安装以及集成hbase

hue 是cdh中自带的组件,也可单独安装(麻烦),hue 是hadoop ui,利用它可以很直观的操作和查看hadoop生态应用。一般安装cloudera manager之后会自动带有hue管理界面 first 安装所需依赖 yum install -y maven git npm cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-pla...

qq_38250124的博客 753

kaggle注册以及数据集下载全流程

kaggle注册,数据集下载及常见问题

Arriteey的博客 2万+

hue配置https

需求 hue默认使用的是http,要改成https https和http的不同,作用 https比http多了一个ssl层 https是在http传输的基础上加入了ssl协议,ssl协议用于保护数据链路安全和用户身份认证安全,ssl协议基于数字证书而设计,所以配置https需要证书。 ...

DCHAO的博客 1107

Ansys Lumerical 2023 R1.2新功能实战:薄膜铌酸锂调制器仿真全流程解析

本文详细解析了Ansys Lumerical 2023 R1.2在薄膜铌酸锂电光相位调制器仿真中的最新功能与应用。通过实战演示,展示了从电极配置、电场计算到模式分析的全流程,重点介绍了各向异性介电常数支持和多物理场耦合优化等关键技术,助力开发者高效设计高性能光通信器件。

weixin_28454475的博客 1213

HUE编译部署

缺少依赖:yum install gcc libffi-devel python-devel openssl-devel。编译过程中可能会出现错误,基本都是依赖安装的不到位,根据错误提示重新安装相应依赖即可。secret_key=allenzhang #任意值,越复杂越好,用来加密用的。原因是 /opt/hue/desktop/desktop.db 只有读权限。原因是包含desktop.db的文件夹对hue用户也是只能读不能写的。启动报错# build/env/bin/supervisor。

用一行行优雅代码重构现实的造梦者,坚信简洁即正义的美学践行者。 350

Word公式一键转MathType保姆级教程(附omml2mml.xsl报错终极解决方案)

本文提供Word公式一键转MathType的保姆级教程,重点解决常见的omml2mml.xsl报错问题。通过详细分析报错原因、官方解决方案实操步骤及转换后格式优化技巧,帮助用户高效完成公式转换,适用于科研论文和商业文档编辑。

weixin_30082367的博客 558

Innovus ECO修复时序违例:ecoAddRepeater插Buffer原理与实战

芯片物理设计越到后期,时序收敛越依赖局部修正而非全局重跑。ECO(Engineering Change Order)作为数字后端高频操作,能在不破坏既有布局布线结果的前提下,精准修复DRV违例、hold时序问题或实现功能补丁。其中,插入Buffer或Inverter是拆解长线RC负载、改善max_transition/max_capacitance最直接的手段。Innovus提供的ecoAddRepeater命令封装了单元选择、坐标摆放和网表重连等底层细节,配合ecoRoute可快速完成绕线。合理选型Buf

weixin_31858171的博客 301

cdh版本的hue安装配置部署以及集成hadoop hbase hive mysql等权威指南

hue下载地址:https://github.com/cloudera/hue hue学习文档地址:http://archive.cloudera.com/cdh5/cdh/5/hue-3.7.0-cdh5.3.6/manual.html 我目前使用的是hue-3.7.0-cdh5.3.6 hue(HUE=Hadoop User Experience) Hue是一个开源的Apache Ha...

weixin_30411997的博客 625

告别环境配置焦虑:在Win10的Ubuntu子系统里搞定CSAPP实验环境(附32/64位库编译指南)

本文详细介绍了如何在Win10的Ubuntu子系统中搭建CSAPP实验环境,包括WSL 2的安装与配置、32/64位库的编译指南以及高效开发工具链的设置。通过优化WSL性能和使用实用技巧,开发者可以轻松应对CSAPP实验中的环境配置问题,提升学习效率。

weixin_30443813的博客 297

Hue安装及使用

Apache Hue 一、 Apache Hue介绍 1. Hue是什么 #后台启动hue和关闭hue nohup build/env/bin/supervisor & ps -ef | grep hue kill -9 xxx(先杀死build/env/bin/supervisor的端口) kill -9 xxx(再杀死runcherrypyserver的端口) HUE=Hadoop...

Imflash的博客 4750

MFC下使用C++操作Word文档

由于项目需求,在MFC环境下操作将数据和图片写入word文档,之前没有接触过,网上查阅了很多资料,终于把任务完成。理解的不是很透彻,但是这些东西应该够用了,写篇博客记录一下,以便以后再用到。 (1)VS环境下创建一个MFC应用程序,然后在项目上单击右键,选择 类向导-----添加类----类型库中的MFC类。在弹出的对话框中选择文件,位置选择office安装目录下的...

GIS_yuhua的博客 7581

AI翻译工具自动翻译日语视频生成srt中文字幕,支持离线轻松生成任意日语视频字幕!可选择支持显卡模式和cpu模式低显存也能用

【AI离线字幕神器:日语视频一键转中文字幕】推荐一款基于Faster-Whisper的本地化字幕工具,可离线生成日语视频的中文字幕(.srt格式),支持CPU/GPU加速处理。实测1小时视频最快4-5分钟完成翻译,无需联网保护隐私。操作简单只需拖拽文件,支持批量处理音频(mp3/wav)和视频(mp4/mkv)文件,还能自定义输出格式和参数调整。特别适合需要观看无字幕日语资料的用户,堪称技术宅必备神器。下载地址附后,包含详细使用教程和参数配置说明。

代码简单说 Vue、JAVA、PHP、Node.js 熟练运用,接口、架构、性能全搞定。 1万+

Hue的安装,配置,编译

        相信大家在看了小菌的上一篇博客《Apache Hue 介绍》后,对Hue已经有了一个大致的理解。本篇博客,小菌将为大家带来Hue的安装,配置,编译!          1.上传解压安装包    ...

大数据梦想家 5844

OpenClaw三层记忆系统:让你的AI助理记住你的习惯,越用越顺手

对于更早的、已经移出滑动窗口的对话内容,我们没有直接丢弃,而是用大模型做摘要压缩,只保留核心信息,然后把摘要存入短期会话记忆的末尾,或者长期用户记忆。比如,10轮之前的对话内容,我们会压缩成:“用户之前查询了仓山万达店4月1日-4月7日的库存数据,对报表的要求是纯文本,不要Markdown”,既保留了核心信息,又不会占用太多上下文窗口。如果说Agent的执行链路是AI的“骨架”,工具调用体系是AI的“手脚”,那么记忆系统就是AI的“大脑”

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 379

HUE安装部署

文章目录HUE 特性HUE 功能HUE 安装与配置环境准备安装 HUE配置 HUEHUE 本身配置配置 HIVE配置HDFS配置yarn重启 HUE HUE 特性 图形化交互界面:降低学习成本 多应用同平台,便捷的操作流程 提示、自动补全功能 查询结果表格化、图形化显示、结果记忆功能 多用户定制化服务 HUE 功能 HUE是一个能够与Hadoop生态组件交互的WEB UI界面 可以与hadoo...

Harm灬小海的博客 1210

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

hue简介及安装

一、来源 HUE=HadoopUser Experience,是一个开源的Apache Hadoop UI系统,由Cloudera Desktop演化而来,最后Cloudera公司将其贡献给Apache基金会的Hadoop社区,它是基于Python Web框架Django实现的。通过使用HUE我们可以在浏览器端的Web控制台上与Hadoop集群进行交互来分析处理数据。 官网网站:http://ge...

Lu_Xiao_Yue的博客 1612

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

Hue 安装

下载 https://codeload.github.com/cloudera/hue/tar.gz/release-4.6.0 依赖安装 centos sudo yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain gcc gcc-c++ krb5-devel libffi-devel libxml2-devel libxslt-devel make mysql mysql-devel openld.

wuhulala的休息室 997

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

hue安装记录_编译源码安装

hue(CDH)安装

雨钓的专栏 4565

hue安装

1.拉取hue的docker镜像 这里使用hue-4.9.0 拉取的进行不同,镜像内部的脚本部署以及安装目录不相同,这里使用的是docker.io/gethue/hue docker search hue docker pull docker.io/gethue/hue

大数据开发 3199

安装hue的步骤、配置、启动hue服务

安装HUE 1.安装前准备 必备的软件环境: 项目 Value 1 Centos 6.8 2 Python 2.6.6 3 jdk-8u171-linux-x64.tar/或者jdk7 4 apache-maven-3.3.9-bin.tar 5 apache-ant-1.8.1-bin.tar 6 hue-3.7.0-cdh5.3.6.tar 必备的集群环境 Hadoop+Hbase+Hive+zk+Mysql+oozie 2.安装配置Maven 上传解压

YanXiaoDai的博客 3400
上一篇: Hadoop监测工具——Splunk安装与使用
下一篇: yarn 日志聚集配置
hxpjava1
博客等级 码龄19年 1365粉丝 511原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值