20120625 I just joined a new company and developed java. The task I received in the first week was to add the SMS sending function. I had no idea at all.
Constantly viewing APIs to view ProjectsSource codeAfter reading it for a long time, you just
HTML input read-only
There are two ways to achieve the read-only effect of input: Disabled and readonly.
Naturally, the two effects are read-only and cannot be edited, but they are quite different.
Disabled indicates that the input is invalid
1. zookeeperwatcher: during initialization, all nodes under basenode on zookeeper (root-region-server, RS, draining, Master, backup-masters, shutdown, unassigned, table, hbaseid, and splitlog are created without watch during initialization. At the
This site to follow: Signature-non-commercial use-the same way to share 2.5 mainland China (CC BY-NC-SA 2.5) Sharing Regulations, reproduced Please note: transferred from the big F blog; original address: http://www.bigf.info/fm/155.html
You often
In this package, some Executor thread pool services provided by the master are used to call ClosedRegionHandler. If the table is disabled, delete the unassigned node on the zk and delete it from the transition state; otherwise, allocate another
One scenario on the platform is to query historical order data of users and support paging.
Currently, hbase only supports rowkey primary indexes and does not support secondary indexes. In my previous blog, I proposed a solution based on SOLR +
The distributed search Master Logic is implemented in the searchhandler. handlerequestbody method. For details, see distributed request branch.The distributed search process is divided into stages. Stage control is implemented in the
------- Cheng Zhi -------------------
1. The project should be made as a product. Think more. Products are continuous. The future extension and horizontal universality should be considered during project creation. Not all business systems require
The previous version of Tomcat was 6.0.26 and changed to the new version 6.0.36. According to the previous settings, when urlencoding = "GBK" is added to the server. xml file, an error is reported after startup. The error message is as follows:
2012
There is a base64 encryption and decryption method
Import sun. misc. *; public class bytetoint {public static void main (string ARGs []) {string num = "iidwaae *"; // double numdou = double. parsedouble (Num); // double numdou = double. valueof
20120712 two errors occur. The first one is the error reported when Tomcat is started, and the second is a Heloworld test class.
The current situation was as follows: a relatively old project needs to be developed again. The environment is jdk1.
Summary of the last week:
1. Since the beginning of this job, many problems have been encountered every day. Some are new, some are old, and most are old. It is only when we solve these old problems that we find that we lack the habit of summing up
I. Data Migration 1. Usage of bulk load toolimporttsv: importtsv-Dimporttsv. columns = a, B, c -Dimporttsv. skip. bad. lines = false-fail if encountering an invalid line '-Dimporttsv. separator = | '-eg separate on pipes instead of
Solr4.0 contains the distributed sorl solution solrcloud, which can be sharding. Each sharding node supports the Election Algorithm (Leader, replica) and query load balancing.When the cluster is started, you need to declare the shard, collection,
B +, B-tree (MySQL, Oracle, MongoDB)
It is mainly used in relational database indexes, such as Oracle and MySQL InnoDB; MongoDB indexes are also implemented by B-tree; and datablock indexes in hfile in hbase.
Dynamic search trees include Binary
I believe that programmers who have been doing software development for a few years will have such a sigh: "the coupling of this program is too high and cannot be modified. If you really want to extend the function, you can only write it again! ",
IntroductionThe Jakarta Tomcat server is a Servlet/JSP Container and has gone through 3. the latest version from X to 4.0.x to 4.1.x is 5.0.x. It supports the servlet2.4 and jsp2.0 specifications. Download Tomcat 5 from the Apache website and
Btrace tool usage
"Hello World"
Case Description
Use the test method to receive an int type parameter, and add two strings in map according to the parameter.
If no logs are printed in the modern code, the generated int value cannot
Java is very mysterious. If a piece of paper is not broken, there are actually a lot of things that seem to be unable to be explained. After careful exploration, the truth will be revealed.
Here we will collect several typical cases.
(1) What about
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service