Best unofficial Apache Server developers community |
| |||||
| Jul 4, 2010 | |||||
|
Cmvelo |
|
||||
| Tags: | |||||
Similar Threads
Closed: (GERONIMO-5341) (master node)NODE-A's Web Application page in Console doesn't display the ap
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
viola.lu closed GERONIMO-5341.
new node can't find seed node
Hi, I am attempting to add a new node to a single node already running. I have set the first node not to bootstrap, and the second node to bootstrap whit the first node as it's seeder. The IP configuration is OK, the machines can ping each other, the seed machine (or should I say cassandra running on the seed machine) is listening on the port 7000. Wen I run my second node I get INFO 11:44:07,933 Auto DiskAccessMode determined to be standard INFO 11:44:08,284 Saved Token not found. Using 158934030741300235018786336281007527329 INFO 11:44:08,285 Saved ClusterName not found. Using VMCluster INFO 11:44:08,293 Creating new commitlog segment /var/lib/cassandra/commitlog/CommitLog-1278668648293.log INFO 11:44:08,425 LocationInfo has reached its threshold; switching in a fresh Memtable at CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1278668648293.log', position=416) INFO 11:44:08,430 Enqueuing flush of Memtable-Locati### @22885256(166 bytes, 4 operations) INFO 11:44:08,432 Writing Memtable-Locatio### @22885256(166 bytes, 4 operations) INFO 11:44:08,759 Completed flushing /var/lib/cassandra/data/system/LocationInfo-1-Data.db INFO 11:44:08,812 Starting up server gossip INFO 11:44:08,863 Joining: getting load information INFO 11:44:08,863 Sleeping 90000 ms to wait for load information... INFO 11:45:38,866 Joining: getting bootstrap token ERROR 11:45:38,870 Exception encountered during startup. java.lang.RuntimeException: No other nodes seen! Unable to bootstrap at org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java:120) at org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:102) at org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.java:97) at org.apache.cassandra.service.StorageService.initServer(StorageService.java:357) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:115) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:211) Exception encountered during startup. java.lang.RuntimeException: No other nodes seen! Unable to bootstrap at org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java:120) at org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:102) at org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.java:97) at org.apache.cassandra.service.StorageService.initServer(StorageService.java:357) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:115) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:211) Any ideas? I have attached the storage-conf.xml of the second node, because i think that that is the most likely place I could have made a mistake. Thanks a lot! BoriS
Using Regex
All,
I am using pig embedded in Java and need to use matches in my pig job.
However when I try to use escape characters in the pig line, the
compiler complains. How do I use complex regex while embedding?
Sample code that is throwing errors:
myServer.registerQuery("filtered = FILTER firstcut BY dIP matches
'\Q34.21.12.*\E';");
error: invalid escape sequence.
Thanks,
Matt
Ask a question about regex in CRS
Hi, everyone
The following rule comes from
rules/base_rules/modsecurity_crs_41_sql_injection_attacks.conf , but I
don't understand what does the regular expression "(?:[\\\(\)\%#]|--)"
mean. What's the meaning of "\%" in a regex?
SecRule MATCHED_VAR "(?:[\\\(\)\%#]|--)"
"t:none,setvar:'tx.msg=%{rule.msg}',setvar:tx.sql_injection_score=+%{tx.critical_anomaly_score},setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/SQL_INJECTION-%{matched_var_name}=%{tx.0}"
Using variables in regex
Well, how do I use the content of a variable in regex?
$username = "user1"
file { "userdata.tar.bz2":
source => "puppet://$server/modules/$module/
userdata.tar.bz2",
ensure => $users ? {
/$username/ => absent,
default => present,
},
}
$users is a custom fact that contains all local users:
users => at avahi bin daemon dnsmasq ftp games haldaemon lp mail
messagebus nobody ntp polkituser postfix pulse root sshd suse uuidd
wwwrun man news uucp puppet user1
When I hardcode "user1" into the regex my test works fine and the file
is removed.
But things like /$variable/ or /\$variable/ or /#{variable}/ just
don't work.
Is it even possible in version 0.25.4?
Using Regex in Embedded Pig in Java
All,
I am using pig embedded in Java and need to use matches in my pig job.
However when I try to use escape characters in the pig line, the
compiler complains. How do I use complex regex while embedding?
Sample code that is throwing errors:
myServer.registerQuery("filtered = FILTER firstcut BY dIP matches
'\Q34.21.12.*\E';");
error: invalid escape sequence.
Thanks,
Matt
A question about android regex implementation
Hi Jesse and All, I have written some simple benchmarks for harmony regex and find the performance of harmony is poor compared to RI. For example, Mathcer.find() only reach 60% of that of RI. I heard Android use icu4jni re-implement this module. Since icu4jni use native code I think it may has higher performance than harmony. I am trying to use icu4jni as the back-end of harmony regex but find icu4jni has no functions related to regex operations. I know there are some android guys in our community. So can anyone tell me some detail info for android's regex, like if it re-implement the regex logic using native code by android itself rather than icu4jni and really get higher performance compared to harmony regex? Thanks a lot!
client-side password validation using regex
Hi all,
I was wondering if it's possible to validate a <html:password> field
on client-side by using a regular expression.
A look at validateMask.js told me that the only field types supported are
'hidden', 'text', 'textarea' and 'file'.
Code:
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'file') &&
(field.value.length > 0)) {
if (!jcv_matchPattern(field.value, oMasked[x][2]("mask")))
{
if (i == 0) {
focusField = field;
}
fields[i++] = oMasked[x][1];
isValid = false;
}
}
Is this the exspected behavior? Is there any reason for not supporting
'password' fields?
If so, how would I validate a password field by using a regex (without
changing the js file on my own :))?
Cheers,
Ref. 324 * Geoinformationszentrum
Tel. 0211 9449-6310 * Fax: 0211 9449-6610
Email: stephan.### @it.nrw.de<mailto:stephan.k### @it.nrw.de>
Created: (HIVE-1483) Update AWS S3 log format deserializer regex
Update AWS S3 log format deserializer regex
Which node is coordinator node?
Hi all, I'm newbie in Cassandra, I have a question about which node is coordinator node in my cluster. I have A, B, C, D, E, F and G nodes. if I run a write operation on "A" node, and key range between A and B, so the A node is responsible to write the key to B, C and D nodes(RF=3) ? and does it mean A node is coordinator node? Thanks. Shen
node down window
there is a window of time from when a node goes down and when the rest of the cluster actually realizes that it is down. what happens to writes during this time frame? does hinted handoff record these writes and then "handoff" when the down node returns? or does hinted handoff not kick in until the cluster realizes the node is down? ... is the only way these missed writes are repaired is through read repair and/or manually kicking off "nodetool repair"? thx
node symlinks
Hi, I have a number of nodes that will grow larger than one cluster can hold, so I am looking for a way to efficiently stack clusters. One way is to have a zookeeper node "symlink" to another cluster. Has anybody ever done that and some tips, or alternative approaches? Currently I use Scala, and traverse zookeeper trees by proper tail recursion, so adapting the tail recursion to process "symlinks" would be my approach. Bst, Maarten
UnavailableException with 1 node down and RF=2?
4 nodes, RF=2, 1 node down. How can I get an UnavailableException in that scenario? - J.
How do I get a node to forget its state?
I had a bad manifest at one point which told puppetd to --recurse on a massive directory that I didn't actually want it to manage. I reverted the config. Ever since then however, the nodes that once applied that --recurse take a much longer time to update themselves. What I see is this: debug: Storing state debug: Stored state in 59.66 seconds On a fresh node this takes less than five seconds. While "Storing state" is running the puppetd Ruby process is at 100% CPU. Is there any way I can get the affected nodes to forget about that old config? Or is there any way I can get more information about what state is being stored to make sure this is the issue? Ubuntu 9.10/ puppetd --version => 0.24.8 thanks! hernan
single node capacity
Hi, How much data load can a single typical cassandra instance handle? It seems like we are getting into trouble when one of our node's load grows to bigger than 200g. Both read latency and write latency are increasing, varying from 10 to several thousand milliseconds. machine config is 16*cpu 32G RAM Heap size is 10G Any suggestion of tuning? Or should I start considering adding more nodes when the data grows to this big? Thanks
Concurrency for node writes
I am having a scenario where I have a root node and then there are sub nodes getting created under it with each request. Each subnode has certain properties created as well. What I am thinking is to handle heavy concurrency is to save the session on every addition of the node. That ways any locks on the root node should be released immediately. After that for each subnode there should be seperate nodes to allow concurrent writes to happen. Is my understanding correct.. I am using jackrabbit 2.0 Thoughts?
3-node balanced system
Hi, What is the correct procedure to create a well balanced cluster (in terms of key distribution). From what I understand whenever I add a new node its takes half from its neighbor. How can I make each node to contain 1/3 of the keys in a 3 node cluster? Thanks.
xpath and root node
Do you have to start your xpath expression with "/jcr:root/" to indicate a path relative to the root of the repository? Why can't you simply start with a single slash?
Problem locking a node
Hi, i'm trying to lock a node for 30 minutes lockManager.lock(node.getPath(), false, false, 1800, username); session.save(); session.logout(); there's no exception but the node doesn't get locked. any tip ?
qt-embedded issues
May 31, 2010 HostGator issues Jul 22, 2010 mod_proxy module + PHP = Logging issues Jul 19, 2010 mod_dav issues: method PUT is not allowed Jun 7, 2010 Issues with web server (client) and db server in a differnt location Jul 15, 2010 | |||||
(23 lines) Jul 4, 2010 17:13