I followed the tutorial and tried communicating to HBase using JSON and Rest Services.
I am using the cloudera distribution CDH4.6
The HBase version in this is hbase-0.94.15+86
I called the following link(60000 is the port where HBase is running on the CDH4 VMware Machine. location is the name of the table)
http://192.168.26.128:60000/location (using get)
This is mentioned in the following link, that this should get all the table data in JSON format
http://wiki.apache.org/hadoop/Hbase/JSONRest
I got the following error:
org.apache.hadoop.ipc.RPC$VersionMismatch>Server IPC version 3 cannot communicate with
client version 47
I am not able to understand where the mismatch is happening? Am I doing something( or might be everything) wrong? Please point me in the correct direction
Also, is the REST Service, already installed on the CDH or do we have to install it? An elaborate answer on the basics or any link to a document explaining the very basic step by step would be very much helpful.
I have been trying to google and found a lot of stuffs, but nothing was able to make things work for me.
Thanks in advance
Related
I have an old Debian Compute Engine instance (created and running since December 2013) and got an email warning about the turndown of Legacy GCE and GKE metadata server endpoints (more details at https://cloud.google.com/compute/docs/migrating-to-v1-metadata-server).
I followed the directions for locating the process and found that the requests were coming from /usr/share/google/google_daemon/manage_addresses.py. The script seems to be the same as what's at https://github.com/gtt116/gce/blob/master/google_daemon/manage_addresses.py (also with what's in that directory).
I don't recall installing this, so I'm imaging it came with the provided Debian image I used in 2013.
Does anyone know what this manage_addresses.py script is, what it does, and what I should do with it now that the legacy metadata server endpoints are turning down? Is it safe to just stop running it? Or is there a new script I should replace it with? Or should I just try to update it myself to use the new endpoint?
I dug around and was able to trace /usr/share/google/google_daemon/manage_addresses.py as being installed by a package called google-compute-daemon. A search for that brought me to https://github.com/GoogleCloudPlatform/compute-image-packages#troubleshooting which explains that google-compute-daemon has been replaced with python-google-compute-engine. That led me to https://cloud.google.com/compute/docs/images/install-guest-environment . I followed the instructions there and manually installed the guest environment.
I noticed during installation that it said it was removing the google-compute-daemon package (and a packaged called google-startup-scripts), so this seems like the right thing. And I'm no longer seeing any requests to the legacy endpoints. So it seems like at some point the old guest environment failed to update.
TLDR; If you have this problem, follow the instructions at https://cloud.google.com/compute/docs/images/install-guest-environment#installing_guest_environment to manually update the guest environment.
I am looking for a solution to set a api end point for the json file in windows. This json should show the updated value whenever it get updated.
Can anyone help to suggest for the right approach?
Thank you
there are a million ways to do it (nginx, apache httpd, lighthttpd, IIS, even a simple netcat server could do it, to mention a few), but
the simplest way i can think of is to just host the json file from HFS
(a simple HTTP file server that runs as a single stand-alone exe, and requires no installation, and is free and open source)
This may sound like a silly question, but my client had me working on a dev version of his website, and now wants me to push changes to the live AWS server.
He's given me access, however I can't for the life of me find the MySQL database in AWS. I am given to understand it should be located under RDS but there seems to be nothing there:
Can someone tell me where to find it then? Did the client send me to the wrong server or something? He is not technical at all so not of any help.
You can use the tag editor to find all the resources that are running in the aws account (which can be tagged). Go to the tag editor and then select all region and resources to see where the db is running. Maybe its running under some other region and you are looking in the wrong region. Hope that helps
I am new to Amazon Web Services. I want to import my .sql file to phpmyadmin. EC2 and RDS instsnces are launched succesfully. Now How can I get newly created db in phpmyadmin?
I have searched on that and got some blogs and solution and as per those have added IP address of server on which my phpMyAdmin is installed. Now I don't know the furthe procedure. Can anyone please help me?
I tried to update etc/httpd/conf.d/phpMyAdmin.conf but I don't have permission to access that file. How can I get permission for that? Do I need to create IAM user?
Best installation tutorial I've seen on this came from Andrew Puch on Github. Just google Andrew Puch and github and you'll find the installation procedures laid out for you, and he did a Youtube video on the subject as well.
As for the rest of it, it is a tangle of server settings and parameter group settings that I have yet to figure out. if anyone else has got a handle on it, I would be eager to find out.
Soo, I've decided to toy around a bit with GAE. Most of my previous experience with developing web-applications is with ASP.Net, so this java / eclipse-world is kinda unfamiliar to me.
I read around, and found out that I can configure my project to use a Google Cloud SQL instance when it's deployed at Google, while using a local MySQL database while running locally on my development server.
The problem I ran in to now is that I can simply not press "Ok" in the eclipse dialog for configuring my local MySQL database? Well - I can, but with no result. No error message, no window close, no nothing.
I'm not really sure what I am doing wrong, but was hoping some wiz in here who has more experience than me with GAE have had a similar problem and a solution?
I've attached a picture of my local MySQL configuration:
http://imgur.com/0tjK7Sf
Thanks in advance