Objective:use Sqoop to import data from Oracle into HBase and automatically generate composite row keys ! Environment:Hadoop2.2.0hbase0.96sqoop-1.4.4.bin__hadoop-2.0.4-alpha.tar.gzoracle11gjdk1.7ubuntu14 Server here about the environment Spit groove Sentence: The latest version of the Sqoop1.99.3 function is too weak, only support import data to HDFs, no other option, too dirt! (If you have a different opinion, please discuss the solution.)command:sqo
Training Big Data architecture development, mining and analysis!from zero-based to advanced, one-to-one technical training! Full Technical guidance! [Technical qq:2937765541] https://item.taobao.com/item.htm?id=535950178794-------------------------------------------------------------------------------------Java Internet Architect Training!https://item.taobao.com/item.htm?id=536055176638Big Data Architecture Development Mining Analytics Hadoop HBase Hive Storm Spark
Import all fields of a table-- Connect JDBC:ORACLE:THIN:@192.168.1.107:1521:ORCL \ -- username SCOTT--password Tiger \ -- table EMP \ -- hive-import --create-hive-table--hive-table emp- M 1;If you report a similar mistake:ExistsRemove the file from the HDFs system first: Hadoop fs-rmr/user/hadoop/empIf you report a similar mistake: in metadata:alreadyexistsexception (message:Tableexists)If you report a similar mistake: in thread "main" Java.lang.NoSuchMethodError:org.apache.thrift.EncodingUti
Tags: sqoop oracle clob--map-column-javaSqoop import--hive-import--hive-overwrite--connect jdbc:oracle:thin:@192.168.92.136:1521:cyporcl--username ODS-- Password ' od154ds$! ('-M 1--hive-database ODS--table q_tra_disputestatus--fields-terminated-by ' \001 '--hive-drop-import-delims--null- String ' \\n '--null-non-string ' \\n '--map-column-java disputeresult=stringDisputeresult This field is Oracleclob type, there is a carriage return, loaded into hiv
Org.apache.hadoop.mapred.YarnChild.main (Yarnchild.java:158) caused By:java.io.IOException:SQLExceptioninchNextkeyvalue at Org.apache.sqoop.mapreduce.db.DBRecordReader.nextKeyValue (Dbrecordreader.java:277) at Org.apache.sqoop.mapreduce.db.SQLServerDBRecordReader.nextKeyValue (Sqlserverdbrecordreader.java:148)
... AMore caused by:com.microsoft.sqlserver.jdbc.SQLServerException: failed to convert string to uniqueidentifier. At Com.microsoft.sqlserver.jdbc.SQLServerException.makeFromData
First, modify the Apache default Site Directory
After the Apache HTTP server is installed, the default site directory is located in the Htdocs folder under its installation directory, and the default home page is the index.html file for that folder. For example, my Apache is installed inside c:/wamp/bin/apache/apache2
Max is from the server with Apache and PHP, do not need to install additional, this article on the relevant configuration is described.
First: Apache
Enter the terminal and the following command will launch the Apache server:
Start sudo apachectl-k start //restart sudo apachectl-k restart
Verify:
Enter in the browser: http://127.0.0.1, displayed as it works!
The IIS server default port for window is also 80,
The Wamp Apache (httpd) default port is also 80,
Any port conflict caused by the Wamp open failure, causing wamp the lower right corner of the icon is yellow color (normal open green),
You can change the port number of Apache (httpd).
Specific programmes
To be replaced by:
Then restart the Wamp service, or the Wamp itself will be
The above descr
1. First, you need to install Apache service, here does not describe how to install.
2. First configure window virtual domain to open hosts
Path is C:\WINDOWS\SYSTEM32\DRIVERS\ETC
After opening, write the domain name in the inside like www.cms.com
3. Modify the Apache configuration file httpd.conf
Found it
Remove the note
Modify
To open state
4. Modify Apa
Environment: Window 7, apache/2.2.19 (WIN32) php/5.2.9-1
1. Configure the server name
Remove the #ServerName localhost:80 comments from the inside.
Re-run the Apache service.
The http://localhost:80 can then be accessed through a browser, which means that Apache has been installed and started successfully if the page is displayed.
2. Add PHP Support
. Apache Tika for parsing. Additonally, Pluggable indexing exists for Apache SOLR, Elastic Search, etc. Nutch can run on a single machine, but gains a lot of it strength from running in a Hadoop clusterCategories:web-frameworkLanguages:javaPmc:apache Nutch
Apache Oozie
Oozie is a workflow scheduler system to manage
A few days ago in the Apache implementation of multi-tomcat load Balancing cluster through JK, the reference network configuration to configure the configuration file, access to the existing tomcat in the JSP file found that the Apache prompt URL does not exist, and then check the configuration file and the Tomcat project deployment, There is no problem with the configuration deployment found. Trying to acc
Some days before doing Apache through JK to achieve a multi-tomcat load Balancing cluster, the reference network configuration after configuring the profile, access to the existing Tomcat file in the Apache hint URL does not exist, and then check the configuration file and Tomcat deployment, Found no problem with configuration deployment. Attempting to access the Apache
In my last article, (4) How to operate an Excel file with Apache POI-----found POI-3.12 a regression, by testing the version of POI-3.12, I found a bug, then what to do when the bug was found. We have 2 kinds of processing, first we go to the Apache POI Bug Library to search, to see if others have created a similar bug, if there is created, this is the best result, we only need to focus on when the bug was
Summary: Apache support Chinese domain name binding, Apache support Chinese domain name binding, teach you how to let Apache support Chinese domain name binding , according to my actual experience, how to let Apache support Chinese domain name binding, It's absolutely useful for Ap
Apache httpcomponentsThe beautiful Life of the Sun Vulcan (http://blog.csdn.net/opengl_es)This article follows "Attribution-non-commercial use-consistent" authoring public agreementReprint Please keep this sentence: Sun Vulcan's Beautiful Life-this blog focuses on Agile development and mobile and IoT device research: IOS, Android, HTML5, Arduino, Pcduino , Otherwise, the article from this blog refused to reprint or re-reproduced, thank you for your
Apache module development/C Language extension Apache (3: A very simple Apache module)
This article from: http://www.loveopensource.com /? P = 18 Original article: Apache module development/C Language extension Apache (3: A very s
Flume is an excellent data acquisition component, some heavyweight, its nature is based on the query results of SQL statements assembled into OPENCSV format data, the default separator symbol is a comma (,), you can rewrite opencsv some classes to modify
1, download
[Root@hadoop0 bigdata]# wget http://apache.fayea.com/flume/1.6.0/apache-flume-1.6.0-bin.tar.gz
2, decompression
[Root@hadoop0 bigdata]# TAR-ZXVF apa
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.