Configuration
After yum is configured, you can install it.
Prepare Parcels to install CDH5
Put the CHD5-related Parcel package in the/opt/cloudera/parcel-repo/directory of the master node (parcel-repo needs to be manually created ).
The related files are as follows:
CDH-5.1.3-1.cdh5.1.3.p0.12-el6.parcel
Parcelable or Serializable interfaces for this object;
Use the Bundle. putParcelable (Key, Obj) and Bundle. putSerializable (Key, Obj) Methods to add the object to the Bundle, and then add the Bundle object to the Intent!
On the redirected target page, use Intent. getParcelableExtra (Key) to obtain the object that implements Parcelable;
On the redirected target page, use Intent. getSerializableExtra (Key) to obtain the object that implements Serializable;
During the study today, we found that I
String age; Person (String name, String age ){ This. name = name; This. age = age; } Person (Parcel in ){ Name = in. readString (); Age = in. readString (); } Public String getName (){ Return name; } Public void setName (String name ){ This. name = name; } Public String getAge (){ Return age; } Public void setAge (String age ){ This. age = age; } @ Override Public int describeContents (){ Return 0; } /** * The Parcelable method writeToParcel seriali
By default, aidl supports Java basic types (INT, long, Boolean, etc.) and (string, list, MAP, charsequence ), how can I implement a custom type? To pass a custom type, first make the custom type support the parcelable protocol. The implementation steps are as follows: 1> the parcelable interface must be implemented for the custom type, and implements the public void writetoparcel (parcel DEST, int flags) method of the parcelable interface. 2> the cust
/telephony/GSM/RIL. java, which is the core component for Android Java framework to process Radio (GSM. this article focuses on rild, which is the driver part.Let's look at a specific example. The dial function in RIL. Java:Public voidDial (string address, int clirmode, message result){Rilrequest RR = rilrequest. Obtain (ril_request_dial, result );
Rr. MP. writestring (Address );Rr. MP. writeint (clirmode );
If (rilj_logd) riljlog (RR. serialstring () + ">" + requesttostring (RR. mrequest ));
Se
, with the flag bit change (once the progress bar has been changed to run the changes to true that piece of code).
Threading is due to the time-consuming processing of lyrics. Not fit on the UI thread.
The detailed process is:
First, Parcel data = Parcel.obtain ();
Parcel reply = Parcel.obtain ();
Data.writestring ("Change");
Binder.transact (0, data, reply, 0);
I. Related software preparation and planning
1, related software and download address:
Cloudera manager:http://archive-primary.cloudera.com/cm5/cm/5/CDH installation package Address: http://archive.cloudera.com/cdh5/parcels/latest/Java Official Download (login required): http://www.oracle.com/technetwork/java/archive-139210.htmlJava versions archive Download (no login required): https://www.reucon.com/cdn/java/MySQL JDBC driver jar pack: http://dev.mysql.com/downloads/connector/j/
2, after do
implement Parcelable or Serializable interface;
Add the object to the bundle through the bundle.putparcelable (key,obj) and Bundle.putserializable (Key,obj) methods, and then add the bundle object to the intent!
In the target page of the jump through Intent.getparcelableextra (Key) to achieve the Parcelable object;
In the target page of the jump through Intent.getserializableextra (Key) to achieve the serializable object;
In the study today, we found that Intent.putextra (Key,value) can act
In Javase's basic course, flow is a very important concept, and has been widely used in Hadoop, this blog will be focused on the flow of in-depth detailed.A The related concepts of javase midstream1, the definition of flow① in Java, if a class is dedicated to data transfer, this class is called a stream② flow is one of the channels used for data transmission since the grafting between programs and devices, this device can be a local hard disk, can be a memory bar, can also be the network associa
a traditional linux hard Disk partitioning tool, which is more powerful and flexible than Disk Druid. However
Fdisk requires you to have some experience in hard disk partitioning and be able to adapt to and understand simple text interfaces. If you are the first
If you partition a hard drive at a time, it is best to avoid programs such as Fdisk. Although it is powerful
The usage is not very good.
Note: In addition, Red Hat linux also provides a partition software called
] MongoDB starting : pid=14116 port=27017 dbpath=C:\datam\db 64-bit host=yanglu2015-03-06T23:50:20.798+0800 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R22015-03-06T23:50:20.799+0800 I CONTROL [initandlisten] db version v3.0.02015-03-06T23:50:20.800+0800 I CONTROL [initandlisten] git version: a841fd6394365954886924a35076691b4d1491682015-03-06T23:50:20.802+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1j-fips
compression, computer, 17 (6) (June 1984), pp8-19CompressZlib implements the zlib format defined in RFC 1950 to compress read and write data.Heap provides any type of heap operations that implement the heap. Interface interface.List implements a double-chain tableContainerRing implements operations on the circular linked listAES implements AES encryption (previous Rijndael). For details, see US federal information processing standard (Circular No 197)Cipher implements the standard block encrypt
hundreds of thousands of.
Connection method for Nginx requestSelect,poll,kqueue,epoll
Second, install Nginx
Prepare the EnvironmentLinux system is CentOS 6.5 64 bit, I switch directly to root user installationOfficial Document: http://nginx.org/en/
Su Root
Go to the user directory download program
Cd/usr/local/src
Now related components
Ngnix:wget Http://nginx.org/download/nginx-1.13.12.tar.gzwget http://www.openssl.org/source/ Openssl-fips-2.
, which has previously exploded a lot of SSL-related vulnerabilities. Although TLS 1.1 and TLS 1.2 were released separately in 2006 and 2008, this is the first version of. NET ClickOnce that actually supports those standards. EncryptionThe first is to support the new standards. The main features are as follows:
The. NET Framework 4.6.2 New DSA (digital Signature Algorithm) X509 certificate support, whose key length exceeds the 1024-bit limit of
Original address: Nginx Linux detailed installation Deployment tutorialFirst, Nginx IntroductionNginx is a Web server can also be used to do load balancing and reverse proxy use, the current use of the most is load balancing, specific introduction I do not introduce Baidu a lot, the following directly into the installation stepsSecond, Nginx installation1. Download Nginx and related componentsDownload related components[[email protected] src]# wget http://nginx.org/download/nginx-1.10.2.tar.gz o
In the new version of the system management functions are mainly the following improvements, this article will be introduced in one.
1, the Unified Network Service function enhances;
2, monitoring and statistical function improvement;
3, FIPS 140-2 Security support.
Unified Network SERVICE function improved
The Unified Network Service (UNS) integrates CS and SP Basic Network services to provide a
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.