Sponsored Content
Full Discussion: Hadoop - Upgrade Issue
Operating Systems Linux Red Hat Hadoop - Upgrade Issue Post 302919465 by diceguy on Wednesday 1st of October 2014 12:01:38 PM
Old 10-01-2014
I believe appender for EventCounter need to define again it's look like it's didn't got initialing properly.once you made changes do rolling restart of your cluster.
 

9 More Discussions You Might Find Interesting

1. Solaris

Live upgrade Issue

Hi, I upgraded solaris 10 x86 from update 3 to update 7 with zones installed n UFS file system . The global zone was updated but the non global zone still shows update 3 what could be the reason for this and how can i update the local zones to update 7 (0 Replies)
Discussion started by: fugitive
0 Replies

2. Solaris

Solaris Live Upgrade issue with Zones

I 'm running solaris10 u6 with 141414-02. My system is T5220 running 2 Ldoms and 7 zones on primary domain. I 'm tryin to create booth environment on my alternate root disk after breaking the SVM mirroring but it does not go well and stuck at some point , and i have to reboot the system to get rid... (1 Reply)
Discussion started by: fugitive
1 Replies

3. Solaris

Live upgrade issue with ZFS Root

I have created a solaris10 update9 zfs root flash archive for sun4v environment which i 'm tryin to use for upgrading solaris10 update8 zfs root based server using live upgrade. following is my current system status lustatus Boot Environment Is Active Active Can Copy Name Complete Now... (0 Replies)
Discussion started by: fugitive
0 Replies

4. Solaris

Upgrade Sun x4150 ELOM issue

Hi, I was trying to upgrade firmware for this Sun x4150 from ELOM to ILOM. I did it under GUI ELOM Manager > Maintenance > Firmware Upgrade. It then showed 'Someone is upgrading firmware' and took forever. I believe its hung due to unknown reason (wrong file used?). I poweroff and poweron the... (4 Replies)
Discussion started by: aixlover
4 Replies

5. Solaris

Live Upgrade Issue

I tried a live upgrade for one my solaris 10u8 server which didnt go sucessfull and after that i now have following mounts in memory. df: cannot statvfs /.alt.sol10u8_2/var: No such file or directory df: cannot statvfs /.alt.sol10u8_2/var/run: No such file or directory df: cannot statvfs... (0 Replies)
Discussion started by: fugitive
0 Replies

6. AIX

Weird nfs issue after TL upgrade

We recently upgraded 2 of our AIX 6.1 servers from TL4 to TL5. Both servers are on the same p7 780 frame, installed at the same time from the same image. Both servers are mounting the same nfs share after reboot what worked perfectly fine until the upgrade. Since the patching, one of the two... (5 Replies)
Discussion started by: zxmaus
5 Replies

7. Solaris

Solaris 10 Live Upgrade Issue

Hi Guys, having an issue with running Live Upgrade on a t5240 runiing Solaris 10 5/08. The system has the required patches 121430, and Live upgrade was updated from the install media sol-10-u10-ga2-sparc-dvd.iso The following boot environments were created solenv1 and solenv2 with the... (8 Replies)
Discussion started by: Revo
8 Replies

8. Solaris

Solaris patching issue with Live Upgrade

I have Solaris-10 sparc box with ZFS file-system, which is running two non global zones. I am in process of applying Solaris Recommended patch cluster via Live Upgrade. Though I have enough space in root file-system of both zones, everytime I run installcluster, it fails with complaining less... (7 Replies)
Discussion started by: solaris_1977
7 Replies

9. UNIX for Dummies Questions & Answers

Hadoop - oozie permission issue - ssh

Hi team , I am trying to submit a simple ssh program using oozie but failing with below error . AUTH_FAILED: Not able to perform operation | ErrorStream: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). i have validated that root@hostname has ssh access and i ... (3 Replies)
Discussion started by: Tomlight
3 Replies
rollingpolicy.h(3)						       log4c							rollingpolicy.h(3)

NAME
rollingpolicy.h - Log4c rolling policy interface. Defines the interface for managing and providing rolling policies. SYNOPSIS
#include <stdio.h> #include <log4c/defs.h> #include <log4c/layout.h> Data Structures struct log4c_rollingpolicy_type log4c rollingpolicy type. Defines the interface a specific policy must provide to the rollingfile appender. Defines #define ROLLINGPOLICY_ROLLOVER_ERR_CAN_LOG 0x05 Typedefs typedef struct __log4c_rollingpolicy log4c_rollingpolicy_t typedef struct log4c_rollingpolicy_type log4c_rollingpolicy_type_t log4c rollingpolicy type. Defines the interface a specific policy must provide to the rollingfile appender. Functions LOG4C_API log4c_rollingpolicy_t * log4c_rollingpolicy_get (const char *policy_name) LOG4C_API const log4c_rollingpolicy_type_t * log4c_rollingpolicy_type_set (const log4c_rollingpolicy_type_t *a_type) LOG4C_API void log4c_rollingpolicy_set_udata (log4c_rollingpolicy_t *policyp, void *udatap) LOG4C_API int log4c_rollingpolicy_init (log4c_rollingpolicy_t *policyp, rollingfile_udata_t *rfup) LOG4C_API int log4c_rollingpolicy_fini (log4c_rollingpolicy_t *a_this) LOG4C_API int log4c_rollingpolicy_is_triggering_event (log4c_rollingpolicy_t *policyp, const log4c_logging_event_t *evtp, long current_file_size) LOG4C_API const log4c_rollingpolicy_type_t * log4c_rollingpolicy_set_type (log4c_rollingpolicy_t *a_rollingpolicy, const log4c_rollingpolicy_type_t *a_type) LOG4C_API const log4c_rollingpolicy_type_t * log4c_rollingpolicy_type_get (const char *a_name) LOG4C_API void * log4c_rollingpolicy_get_udata (const log4c_rollingpolicy_t *policyp) LOG4C_API rollingfile_udata_t * log4c_rollingpolicy_get_rfudata (const log4c_rollingpolicy_t *policyp) Detailed Description Log4c rolling policy interface. Defines the interface for managing and providing rolling policies. A rolling policy is used to confogure a rollingfile appender to tell it when to trigger a rolover event. Define Documentation #define ROLLINGPOLICY_ROLLOVER_ERR_CAN_LOG 0x05 Effect a rollover according to policyp on the given file stream. Parameters: policyp pointer to the rolling policy fp filestream to rollover. Returns: zero if successful, non-zero otherwise. The policy can return an indication that something went wrong but that the rollingfile appender can stull go ahead and log by returning an error code <= ROLLINGPOLICY_ROLLOVER_ERR_CAN_LOG. Anything greater than means that the rolling file appender will not try to log it's message. Typedef Documentation typedef struct __log4c_rollingpolicy log4c_rollingpolicy_t log4c rollingpolicy type typedef struct log4c_rollingpolicy_type log4c_rollingpolicy_type_t log4c rollingpolicy type. Defines the interface a specific policy must provide to the rollingfile appender. Attributes description: o name rollingpolicy type name o init() init the rollingpolicy o is_triggering_event() o rollover() Function Documentation LOG4C_API int log4c_rollingpolicy_fini (log4c_rollingpolicy_t *a_this) Call the un initialization code of a rolling policy. This will call the fini routine of the particular rollingpolicy type to allow it to free up resources. If the call to fini in the rollingpolicy type fails then the rollingpolicy is not uninitialized. Try again later model... Parameters: policyp pointer to the rolling policy Returns: zero if successful, non-zero otherwise. LOG4C_API log4c_rollingpolicy_t* log4c_rollingpolicy_get (const char *policy_name) Get a new rolling policy Parameters: policy_name a name for the policy Returns: a new rolling policy, otherwise NULL. LOG4C_API rollingfile_udata_t* log4c_rollingpolicy_get_rfudata (const log4c_rollingpolicy_t *policyp) Get the rollingfile appender associated with this policy. Parameters: policyp pointer to the rolling policy Returns: pointer to the rolling file appender associated with this policy LOG4C_API void* log4c_rollingpolicy_get_udata (const log4c_rollingpolicy_t *policyp) Get the rolling policy configuration. Parameters: policyp pointer to the rolling policy Returns: pointer to the rolling policy configuration. LOG4C_API int log4c_rollingpolicy_init (log4c_rollingpolicy_t *policyp, rollingfile_udata_t *rfup) Call the initialization code of a rolling policy. Parameters: policyp pointer to the rolling policy app the rolling appender this policy is used with Returns: zero if successful, non-zero otherwise. LOG4C_API int log4c_rollingpolicy_is_triggering_event (log4c_rollingpolicy_t *policyp, const log4c_logging_event_t *evtp, longcurrent_file_size) Determine if a logging event should trigger a rollover according to the given policy. Parameters: policyp pointer to the rolling policy evtp the logging event pointer. current_file_size the size of the current file being logged to. Returns: non-zero if rollover required, zero otherwise. LOG4C_API const log4c_rollingpolicy_type_t* log4c_rollingpolicy_set_type (log4c_rollingpolicy_t *a_rollingpolicy, const log4c_rollingpolicy_type_t *a_type) sets the rolling policy type Parameters: a_rollingpolicy the log4c_rollingpolicy_t object a_type the new rollingpolicy type Returns: the previous appender type LOG4C_API void log4c_rollingpolicy_set_udata (log4c_rollingpolicy_t *policyp, void *udatap) Configure a rolling policy with a specific policy. Parameters: policyp pointer to the rolling policy udatap a specific policy type, for example sizewin. Returns: zero if successful, non-zero otherwise. LOG4C_API const log4c_rollingpolicy_type_t* log4c_rollingpolicy_type_get (const char *a_name) Get a pointer to an existing rollingpolicy type. Parameters: a_name the name of the rollingpolicy type to return. Returns: a pointer to an existing rollingpolicy type, or NULL if no rollingpolicy type with the specified name exists. LOG4C_API const log4c_rollingpolicy_type_t* log4c_rollingpolicy_type_set (const log4c_rollingpolicy_type_t *a_type) Use this function to register a rollingpolicy type with log4c. Once this is done you may refer to this type by name both programmatically and in the log4c configuration file. Parameters: a_type a pointer to the new rollingpolicy type to register. Returns: a pointer to the previous rollingpolicy type of same name. Example code fragment: const log4c_rollingpolicy_type_t log4c_rollingpolicy_type_sizewin = { 'sizewin', sizewin_init, sizewin_is_triggering_event, sizewin_rollover }; log4c_rollingpolicy_type_set(&log4c_rollingpolicy_type_sizewin); Author Generated automatically by Doxygen for log4c from the source code. Version 1.2.1 Mon May 2 2011 rollingpolicy.h(3)
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy