Member since
07-31-2019
346
Posts
259
Kudos Received
62
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2937 | 08-22-2018 06:02 PM | |
1691 | 03-26-2018 11:48 AM | |
4215 | 03-15-2018 01:25 PM | |
5086 | 03-01-2018 08:13 PM | |
1434 | 02-20-2018 01:05 PM |
06-10-2016
03:51 PM
2 Kudos
@Timothy Spann I haven't tried it myself but this blog mentions HDP 2.4. https://hernandezpaul.wordpress.com/2016/05/29/polybase-query-service-and-hadoop-welcome-sql-server-2016/
... View more
06-08-2016
05:25 PM
@Hamza FRIOUA I wrote this awhile back for a customer. The version may have changed but it should still be relevant. Essentially, it creates a test MongoDB instance, loads data, installs the storagehandler, creates a Hive table. 1. Install MongoDB: sudo yum install mongodb-org
You may need to setup the following mongodb.repo file in /etc/yum.repos.d
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1 2. Start mongodb: sudo service mongod start 3. Enter the mongo CLI by typing mongo 4. http://docs.mongodb.org/manual/tutorial/generate-test-data/
Type the following to add test data to db.testData.
MongoDB will implicitly create the database if it isn’t already created.
The default is “25” records but this can be increased if needed:
for (var i = 1; i <= 25; i++) {db.testData.insert( { x : i } )} 5. To display the data type: db.testData.find() 6. http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-hadoop/
7. From /root, download the mongo-hadoop git repo:
git clone https://github.com/mongodb/mongo-hadoop.git 8. Navigate to /root/mongo-hadoop and type ./gradlew jar 9. Place .jar files in usr\lib\hadoop\lib and usr\lib\hive\lb
mongo-hadoop-core-1.4.0-SNAPSHOT.jar
mongo-hadoop-hive-1.4.0-SNAPSHOT.jar
mongo-hadoop-pig-1.4.0-SNAPSHOT.jar 10. Type hive on the command line to start the Hive shell ****Create Hive Table***** CREATE EXTERNAL TABLE testdb
(
id STRING,
x INT
) STORED BY 'com.mongodb.hadoop.hive.MongoStorageHandler' WITH SERDEPROPERTIES('mongo.columns.mapping' = '{"id":"_id", "x":"x"}')
TBLPROPERTIES('mongo.uri'='mongodb://127.0.0.1:27017/db.testData');
***********WARNING: If you leave out the EXTERNAL command, Hive will use the MongoDB collection as
the primary source. Dropping the Hive table will remove the collection from Mongo. *********** 11. You should now be able to see your MongoDB data by typing “SELECT * FROM testdb;" Hope it helps!
... View more
06-07-2016
11:49 AM
@David Tam Take a look at this HCC question and see if it applies. https://community.hortonworks.com/questions/18903/this-version-of-libhadoop-was-built-without-snappy.html. Most likely need to add the snappy.jar to class\library path in the Ambari config.
... View more
06-07-2016
11:44 AM
@sanka sandeep Unfortunately no support for Ambari or Kerberos for HDP on Windows. You can configure alerts using MSFT SCOM if needed. Strongly recommend installing HDP on Linux for full functionality. If you want to continue to use MSFT, look into HDInsight.
... View more
06-06-2016
08:53 PM
@emaxwell I suppose then if they are using AD accounts for the customizable accounts they can point to those during install and update the corresponding sudo commands to point to the customized accounts?
... View more
06-06-2016
08:33 PM
When doing an Ambari install as non-root do you have to manually create all the service accounts prior to install? I know you have to manually install the ambari-agent and provide sudo privs, but would there be any problems with manually pre-creating each service account?
... View more
Labels:
- Labels:
-
Apache Ambari
06-06-2016
01:47 PM
@YUAN Mao-Lin not certain, but it looks like the JAVA path may have thrown a translation error. (or verify the Java path is set correctly). It appears that after this error a rollback occurs. Here is the documentation for setting up Java http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2-Win/bk_QuickStart_HDPWin/content/Java_JDK.html As a personal recommendation - I would strongly consider installing HDP on a certified flavor of Linux. CAQuietExec: Checking JAVA_HOME is set correctly...
CAQuietExec: 此时不应有 Files\Java\jdk1.7.0_80。
CAQuietExec: Error 0x800700ff: Command line returned an error.
CAQuietExec: Error 0x800700ff: CAQuietExec Failed
CustomAction CheckPreReq returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
... View more
05-17-2016
12:15 PM
1 Kudo
@James Corkran go to our add-on's page http://hortonworks.com/downloads/#data-platform and click expand in the archive section. In this section you will see all the ODBC drives from older versions.
... View more
05-11-2016
04:22 PM
Thanks @Vedant Jain. You're correct. I tracked down the IP for the vm and was able to login.
... View more
05-11-2016
03:46 PM
Following the documented instructions for installing Cloudbreak on Azure, I continue to get the following error: Unable to evaluate template outputs: 'publicIp'. Please see error details and deployment operations. Please see http://aka.ms/arm-debug for usage details. (Code: DeploymentOutputEvaluationFailed) The template output 'publicIp' is not valid: Template language expression property 'ipAddress' doesn't exist, available properties are 'provisioningState, resourceGuid, publicIPAllocationMethod, idleTimeoutInMinutes, dnsSettings'. Please see http://aka.ms/arm-template-expressions for usage details.. (Code: DeploymentOutputEvaluationFailed Any suggestions on how to work around this error?
... View more
Labels:
- Labels:
-
Hortonworks Cloudbreak